Platform SDK: SMTP Server Events |
[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.
Value | Description |
---|---|
Notify | Called by the source when processing has completed. |
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.