Platform SDK: SMTP Server Events

IMailTransportNotify Interface

[This is preliminary documentation and subject to change.]

The IMailTransportNotify interface defines a callback method used by transport event sinks to notify the event source that asynchronous event processing has completed.

IID
6E1CAA77-FCD4-11d1-9DF9-00C04FA322BA
Extends
IUnknown

Methods

Method Description
Notify Called by transport event sinks to notify the source that asynchronous processing has completed.

Remarks

Transport event sinks can run asynchronously with respect to the calling source thread. To do so, sink code must return S_FALSE after spawning a working thread or thread to process the event. The spawned threads can then notify the event source that processing has completed by calling the IMailTransportNotify::Notify method exposed by the source. The reference through which the spawned threads notify the source through an invocation of Notify is passed as a parameter to the various event methods.