Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The IMailTransportRoutingEngine interface defines a method that router event sinks must implement to be notified of the OnGetRouterForMessage event, through which the Advanced Queue (AQ) passes the existing router interface and requests the sinks IMessageRouter interface reference.
Method | Description |
---|---|
GetMessageRouter | Called by the event dispatcher on registered router sinks to notify the sinks that routing information is needed for a message. |
To implement a sink that provides routing information for messages, you implement a COM class that exposes the IMessageRouter interface. You then register a sink binding to receive notifications of the OnMessageRouter event. When routing information is needed for a message, each registered event sink is notified of the OnMessageRouter event by the event dispatcher. The corresponding COM category identifier for this event is CATID_SMTP_TRANSPORT_ROUTER. The string version of this GUID is "{283430C9-1850-11d2-9E03-00C04FA322BA}".