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.
SUMMARY
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.
MORE INFORMATION
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:
   4.0;c:\windows\system32\crarun.dll;1;00000101001100				

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.

faq
Properties

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
Feedback