Platform SDK: SMTP Server Events

IMsgTrackLog Interface

[This is preliminary documentation and subject to change.]

The IMsgTrackLog interface defines a method that transport event sinks must implement to be notified of the OnMsgTrackLog event, indicating that a MailMsg object is currently being processed.

IID
1bc3580e-7e4f-11d2-94f4-00C04f79f1d6
Extends
IUnknown
Event Name
MsgTrackLog
COM Category ID
{c6df52aa-7db0-11d2-94f4-00c04f79f1d6}

Methods

Method Description
OnSyncLogMsgTrackInfo Called by the SMTP service to notify event sinks that a message is being processed.

Remarks

To implement a sink that received message-tracking information from the SMTP service, you implement a COM class that exposes the IMsgTrackLog interface. You then register a sink binding to receive notifications of the OnLogMsg event. When logging/tracking information has been gathered for a message, each registered event sink is notified of the OnLogMsg event by the event dispatcher. The corresponding COM category identifier for this event is CATID_SMTP_MSGTRACKLOG. The string version of this GUID is "{c6df52aa-7db0-11d2-94f4-00c04f79f1d6}".