Platform SDK: SMTP Server Events

ISMTPServer::TriggerServerEvent

[This is preliminary documentation and subject to change.]

Trigger an SMTP service event.

HRESULT TriggerServerEvent(
   [in] DWORD dwEventID,
   [in] PVOID pvContext
);
dwEventID
The identifier of the event to trigger.
pvContext
The SMTP service context for the event.

Return Values

MAILMSG_E_PROPNOTFOUND STG_E_UNKNOWN
STOREDRV_E_RETRY  
MAILTRANSPORT_S_PENDING Success. The operation is pending completion.
MAILMSG_E_PROPNOTFOUND Failure. The requested property does not exist.