Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The ISmtpOutCommandContext::QueryCommandSize method returns the size, in bytes (chars), of the current command.
HRESULT QueryCommandSize( [out] DWORD *pdwSize );
The current SMTP command is stored as an ASCII string. The QueryCommandSize returns the size (in chars) of the current command string.