Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
Create a new recipient list.
HRESULT AllocNewList( [out] IMailMsgRecipientsAdd **ppNewList);
Value | Description |
---|---|
S_OK | Success. |
When allocating a new list of recipients for the object, you use a separate object exposing the IMailMsgRecipientsAdd interface. When first returned, the object has no recipients in memory.
After updating the recipient list in this separate object, you update the MailMsg object using the IMailMsgRecipients::WriteList method. To commit the changes to physical storage, invoke the IMailMsgRecipients::Commit method.
IMailMsgRecipients::WriteList
IMailMsgRecipientsAdd Interface