Problem solve Get help with specific problems with your technologies, process and projects.

Script generates RSS feed for posts to public folder

We discovered a script, courtesy of Exchange developer Glen Scales, that generates an RSS feed for posts to a public folder on an Exchange server.

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 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.

Dig Deeper on Exchange Server setup and troubleshooting

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchSQLServer

SearchEnterpriseDesktop

SearchVirtualDesktop

Close