| Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Write content into the MailMsg object with optional asynchronous completion.
HRESULT WriteContent( [in] DWORD dwOffset, [in] DWORD dwLength, [out] DWORD *pdwLength, [out,size_is(dwLength),length_is(*pdwLength)] BYTE *pbBlock, [in] IMailMsgNotify *pNotify );
| Value | Description |
|---|---|
| S_OK | Success. The operation completed synchronously. |
| MAILMSG_S_PENDING | Success. The operation is pending, and pNotify->Notify will be called with the result of the operation when it completes. |
IMailMsgNotify Interface
IMailMsgNotify::Notify