Platform SDK: SMTP Server Events

ISMTPServer::TriggerLocalDelivery

[This is preliminary documentation and subject to change.]

Trigger the OnLocalDelivery event.

HRESULT TriggerLocalDelivery(
  [in] IMailMsgProperties *pMsg, 
  DWORD dwRecipientCount, dwRecipCount
  DWORD * pdwRecipIndexes
);
pMsg
A reference to the MailMsg object for which to trigger the event.
dwRecipCount
The number of recipients for this delivery.
pdwRecipIndexes
An array of indexes of the recipients to which the message should be delivered.

Return Values

Value Description
S_OK Triggering of the OnLocalDelivery succeeded.