[This is preliminary documentation and subject to change.]
The ISmtpInCommandContext::QueryCommandSize method retrieves the size of the current command text.
HRESULT QueryCommandSize( [out] DWORD *pdwSize );