XCLN: What is the 'Custom' Rule Action For?

This article was previously published under Q151690
This article has been archived. It is offered "as is" and will no longer be updated.
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 underHKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Exchange\Client. Specifically, theMicrosoft Exchange client is looking for a Custom Actions key that is notavailable by default. Under this key, corresponding values for a ruleprocessing .DLL file are included (this .DLL is created using the SDK). Thefollowing example illustrates this using an example found in the SDK underthe registry value used for the above key called Launch:

With the registry entry and rule processing .DLL correctly configured, theuser can then check the custom option and select the name displayed (inthis case, Launch) from dropdown list to customize Inbox rule processingfor 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: 12/04/2015 14:48:59 - Revision: 3.7

Microsoft Exchange Client 4.0, Microsoft Exchange Client 5.5, Microsoft Outlook 2000 Standard Edition, Microsoft Outlook 98 Standard Edition, Microsoft Outlook 97 Standard Edition, Microsoft Outlook 2002 Standard Edition

  • kbnosurvey kbarchive kbhowto kbusage KB151690