Platform SDK: SMTP Server Events |
[This is preliminary documentation and subject to change.]
The ISmtpInCommandContext::QueryCommandKeyword method returns the current command keyword string.
HRESULT QueryCommandKeyword( [out,size_is(*pdwSize)] LPSTR pszKeyword, [in,out] DWORD *pdwSize );
The protocol command is made up of the keyword and the argument for the command. For example, the protocol command "EHLO domain.tld" has the keyword "EHLO."