Script generates RSS feed for posts to public folder
Serdar Yegulalp, Contributor
VBScript event sinks for Exchange make it possible to write custom code triggered by certain events in Exchange. One of the more interesting scripts I bumped into recently, courtesy of Exchange developer Glen Scales, is a script that generates an RSS feed for posts to a public folder on an Exchange server.
Whenever a new mail or post arrives in a folder with this script attached to it, the script will create a feed that contains the last seven days' posts and write it to d:\inetpub\wwwroot\pubfolder1.xml.
The exact location can be changed as needed by editing the objdom.save line at the end of the script, and the time interval is also editable; note the now()-7 arguments used in the script, which is where the interval is calculated.
The script
When you register, you’ll also receive targeted alerts from my team of editorial writers and independent industry experts with the latest news, tips, and advice to help you do your job more efficiently and effectively. Our goal is to keep you informed on the hottest topics and biggest challenges faced by Exchange professionals today working with Exchange, Outlook and other related technologies.
Margie Semilof, Editorial Director
Premium Access
Register now for unlimited access to our premium content across our network of over 70 information Technology web sites.
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States.
Privacy
Dig Deeper
-
People who read this also read...
This was first published in September 2004
can be found at this
here, in Glen Scales's excellent Exchange programming blog.
Using event sinks in Exchange 2003 requires that you register the script host sink, which is not set up in Exchange by default. The procedure for doing this is described in Knowledge Base article 264995, and is the same for both Exchange 2000 and 2003. The process involves installing a COM+ object that hosts the script to be used. Also make sure the EUSER_EXSTOREEVENT account has permissions to write to the directory in question, since the script will be run in the context of that account.
(Thanks, of course, to Glen Scales for this script.)
Serdar Yegulalp is the editor of the Windows 2000 Power Users Newsletter.
Do you have a useful Exchange tip to share? Submit it to our
monthly tip contest and you could win a prize and a spot in our Hall of Fame.
Disclaimer:
Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.