Platform SDK: SMTP Server Events

Source Properties

[This is preliminary documentation and subject to change.]

Source properties are defined and defined by a particular dispatcher implementation. For example, the inbound and outbound protocol event dispatcher uses a "Rule" and "Priority" property to discriminate when a sink is to be notified of an event. Most transport event sinks do not use the "Rule" source properties, except the OnTransportSubmission event. All protocol and transport events support use of the "Priority" source property. The following section lists the source properties used for event bindings for protocol and transport events.

Property Description
Rule A string identifying a protocol filter for the sink binding. The dispatcher uses the rule as a condition (or set of conditions) under which the sink is to be notified. The rules are SMTP protocol command rules and "glob" conditions for each. For example,
ehlo=*.microsoft.com

Multiple rules are separated by semi-colons:

ehlo=server.microsoft.com;mail from=*.microsoft.com
Priority The sink's notification priority with respect to other sinks registered to receive notifications of the event. The range of values is 0 (highest) to 32767 (lowest). This property is optional. The default priority is 24575. Sinks with the same priority run in an indeterminate order.