[This is preliminary documentation and subject to change.]
The ISmtpInCommandContext::SetCommandStatus method sets the command status to the specified value.
HRESULT SetCommandStatus( [in] DWORD dwCommandStatus );