1 out of 2 rated this helpful - Rate this topic

Exchange Rules

Exchange Server 2003
This topic provides information about using Exchange Rules to develop messaging applications.

Introduction

Microsoft® Exchange Server uses rules on mailboxes and other folders to automatically execute actions on objects in the folders. You can use rules to develop applications that carry out predefined or custom actions, even at times when the application is not running. Rules can be performed on the Exchange store (server-side) or on Microsoft Outlook® (client-side, deferred action rules).

Caveats

Functional Criteria

CriteriaExchange Rules
Application DomainExchange rules are typically used to specify user-defined actions that are to be performed on messages that arrive in folders of the user's mailbox. In addition, it is possible to use a set of predefined rules on Public Folders.
Major ObjectsExchange rules use two top-level objects: the Rules collection, and an object for an individual Rule. Alternatively, the IExchangeModifyTable can be used to work with folder rules.
Data access modelExchange rules present data to applications as a set of hierarchical objects with methods and properties.
Threading ModelsRules are defined by applications that can be multi-threaded. The resulting rules run within Exchange (server-side rules) or within Outlook (client-side rules).
Application ArchitecturesApplications that programmatically control Exchange rules are typically e-mail processing client applications such as Outlook. In addition, applications that use mailboxes to manage messages in workflow processes can use Exchange server-side rules to perform parts of the workflow processing.
Remote UsageThe Exchange rules COM components use MAPI to communicate with the Exchange server and MAPI uses Remote Procedure Calls (RPC) to communicate with the Exchange server. Typically RPC is intentionally blocked from passing through Internet firewalls. However, Exchange 2003 does support RPC over HTTP, which can be configured to allow clients to remotely access an Exchange store.
TransactionsThe COM objects for rules do not support transactions.
Management CapabilitiesThe Rules features have no special built-in management capabilities. The rules components can be used to manage server-side rules of users who have defined them, if the managing user has permissions to access the mailboxes and public folders.
AvailabilityThe Exchange rules technology shipped in Exchange 5.5. Although the component does not ship with later versions of Exchange, rules are supported in all versions of Exchange. Future versions after Exchange 2003 might not include, or enable use of, this technology.

Development Criteria

CriteriaExchange Rules
Languages and ToolsApplications that define and modify Exchange rules can be implemented by using any COM/Automation-compatible language, as well as non-COM languages such as C/C++.
Managed ImplementationExchange rules COM objects are unmanaged components. Use of Exchange rules is supported under the COM Interoperability layer of Visual Studio .NET and the .NET Framework.
ScriptableExchange rules can be programmatically accessed by using scripts.
Test/Debug ToolsNo special debugging tools are needed to debug applications that use Exchange rules. Client-side rules require Outlook for proper testing.
Expert AvailabilityAlthough it may be difficult to find developers who have direct experience using Exchange rules, most developers should be able to use the technology without problem.
Available InformationInformation about using Exchange rules is available in the Exchange 5.5 SDK. To download the Exchange Server 5.5 SDK, see Microsoft Exchange Server Online link on MSDN.
Developer/Deployment LicensingNo special licenses are required to deploy an application that uses WMI to access Exchange. Refer to your Exchange and MSDN subscription licensing agreements to determine whether additional licenses are required for the Exchange servers on which your application defines rules.

Security Criteria

CriteriaExchange Rules
Design-Time PermissionsThe developer must have permissions to access the desired folders and data in the Exchange store.
Setup PermissionsSetting up applications that use Exchange Rules typically requires the user to be a local administrator, or to have rights to install software.
Run-Time PermissionsNo special permissions are required to deploy applications that use Exchange rules.
Built-in Security FeaturesNone.
Security Monitoring FeaturesNone.

Deployment Criteria

CriteriaExchange Rules
Server Platform RequirementsThe Exchange servers where user-defined rules are stored must be properly configured to allow access by MAPI clients.
Client Platform RequirementsThe client application installer should verify that the proper version of MAPI is available on the computer, and that it is properly configured via the MAPISVC.INF file.
Deployment MethodsApplications that use MAPI can be deployed to client computers by using standard software distribution technologies. The installer should verify that the correct version of MAPI is available, and that it is configured properly.
Deployment Notes
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.