Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The ISmtpOutCommandContext::QueryCurrentRecipientIndex method returns the current recipient index.
HRESULT QueryCurrentRecipientIndex( [out] DWORD *pdwRecipientIndex );
The out-command context contains an internal list of recipients for the message organized as an array. The QueryCurrentRecipientIndex returns the current index within the array of recipients.