Platform SDK: SMTP Server Events

ISmtpInCommandContext::SetNativeResponse

[This is preliminary documentation and subject to change.]

The ISmtpnCommandContext::SetNativeResponse method set the native response text for the command to the specified string.

HRESULT SetNativeResponse(    
  [in,string] LPSTR  pszNativeResponse,
  [in]        DWORD  dwSize
);

Parameters

pszNativeResponse
The string to which to set the native response string.
pdwSize
The size of the string pointed to in pszNativeResponse.

Return Values

Remarks