Platform SDK: Exchange Server

RuleASP: Modifying Rules from an ASP Application

The RuleASP sample demonstrates how to use the Rule COM component to manipulate folder rules. The Rule COM component is a replacement for the RULEEDIT sample in previous versions of the Platform SDK. Because Rule COM classes provides implementations of dual interfaces, they can be used with any programming or scripting language that supports the COM. In this sample, Visual Basic, Scripting Edition (VBScript) is used from with Active Server Pages (ASP) pages. This sample does not demonstrate the full functionality of the Rule component, but it does have enough functionality to perform the most common tasks. For example, you can automatically delete messages that contain the phrase "more money", a popular theme of internet "spam" email.