Exchange, Outlook & Sharepoint Resources


Exchange Resource Center Home

Product Category Company
Folder SPAM Filter Script Monitoring CDOLive
This sample deletes all messages arriving at a particular folder, if the subject contains a special keyword which matches a keyword stored in a file on the file system. This is especially useful if you are using a public folder for hosting Newsgroups and you want to delete all messages in this folder, which are containing keywords that are qualifying the message as a commercial e-mail message. Of course you can use a public folder assistant rule to accomplish this, but it is really hard to maintain rules in different public folders with the same set of one keyword lists. The sample uses a file which holds the keyword list. The only thing you have to do is instal the Microsoft Exchange Server Scripting and Routing script on each folder. After that you only have to maintain the keyword list file on the file system for all public folders.
http://www.cdolive.com/deletespammessage.htm