ISMTPTransport::CommandAUTH method

[ISMTPTransport::CommandAUTH is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Sends the AUTH command to the server.

Syntax

HRESULT CommandAUTH(
  [in] LPSTR pszAuthType
);

Parameters

pszAuthType [in]

Type: LPSTR

Specifies an LPSTR that contains the SASL authentication mechanism.

Return value

Type: HRESULT

Returns one of the following values.

Return code Description
S_OK
Indicates success.
E_INVALIDARG
Indicates that pszAuthType is NULL.
E_OUTOFMEMORY
Indicates that an attempt to allocate memory failed.
IXP_E_BUSY
Indicates that the server connection is busy.
IXP_E_NOT_INIT
Indicates that the transport has not been initialized.
IXP_E_SOCKET_WRITE_ERROR
Indicates that a transmission error occurred.

Requirements

Minimum supported client
Windows XP [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Product
Outlook Express 6.0
Header
Imnxport.h
IDL
Imnxport.idl
DLL
Inetcomm.dll (version 6.0 or later)