Platform SDK: SMTP Server Events

IMailMsgNotify Interface

[This is preliminary documentation and subject to change.]

The IMailMsgNotify interface defines a callback method used to notify a caller that an operation executing asynchronously has completed. The HRESULT status code for the operation is passed when the notification is given.

IID
0f7c3c30-a8ad-11d1-aa91-00aa006bc80b
Extends
IUnknown

Methods

Value Description
Notify Called by the source when processing has completed.

Remarks

Many methods called on MailMsg objects (IMailMsg interfaces) can be run asynchronously. To execute a method asynchronously, you pass an IMailMsgNotify object reference to these methods. When processing has completed, the source thread calls the Notify method on your passed object reference to indicate that the method has completed.

When the source thread calls the Notify method, the actual HRESULT for the call is returned as a parameter in the method.