Platform SDK: SMTP Server Events |
[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.
Method | Description |
---|---|
Notify | Called by transport event sinks to notify the source that asynchronous processing has completed. |
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.