Platform SDK: SMTP Server Events

ISmtpInCommandContext::SetResponse

[This is preliminary documentation and subject to change.]

The ISmtpInCommandContext::SetResponse method sets the specified text for the command response.

HRESULT SetResponse(
  [in,string] LPSTR  pszResponse,
  [in]        DWORD  dwSize
);

Parameters

pszResponse
The string to which to set the response.
pdwSize
The size of the string (in bytes) pointed to by pszResponse.

Return Values

Remarks