Select the product you need help with
- Internet Explorer
- Windows Phone
- More products
XCLN: What is the 'Custom' Rule Action For?
Article ID: 151690 - View products that this article applies to.
This article was previously published under Q151690
A Custom Rule Action is a DLL which contains code which may be called as a consequence of a rule firing. This article explains how to register a Custom Rule Action DLL so it is available as an option.
The Microsoft Exchange client for Windows has an option under Tools, Inbox Assistant, Add (or Edit) rule, called Custom. In Outlook, this dialog can be reached through the Rules Wizard, by selecting 'perform a custom action'. This dropdown box is typically blank unless custom rule dll's have been registered. A custom rule action can be created using the Microsoft Exchange Software Development Kit (SDK).
The custom dropdown option will use an entry in the registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client. Specifically, the Microsoft Exchange client is looking for a Custom Actions key that is not available by default. Under this key, corresponding values for a rule processing .DLL file are included (this .DLL is created using the SDK). The following example illustrates this using an example found in the SDK under the registry value used for the above key called Launch:
With the registry entry and rule processing .DLL correctly configured, the user can then check the custom option and select the name displayed (in this case, Launch) from dropdown list to customize Inbox rule processing for the Microsoft Exchange client.
A sample Custom Action agent, called CRARUN is available as part of the Exchange 5.5 SDK. See http:\\www.microsoft.com\downloads to obtain the SDK samples.
Article ID: 151690 - Last Review: January 19, 2007 - Revision: 3.7