Platform SDK: SMTP Server Events

ISmtpOutCommandContext::SetCommand

[This is preliminary documentation and subject to change.]

The ISmtpOutCommandContext::SetCommand method sets the command to the specified string.

HRESULT SetCommand(
  [in,string] LPSTR  szCommand,
  [in]  DWORD  dwSize
);

Parameters

szCommand
A string containing the content to which to set the command
dwSize
The size, in bytes, of the command string contained in szCommand.

Return Values

Remarks