:AuthenticateUser()


Class

     aprSMTP()

 

Syntax

     :AuthenticateUser ( cUID, cPWD, [hSession] ) -> lSuccess

 

Parameters

 

cUserID

User ID to use for Authentication to the remote server

 

cPassword

Password to use for Authentication to the remote server

 

hSession

Optional: If hSession is not passed, the value in :Session will be used

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

To get more information about the error, see :nErr and :cErr.

 

Description

The :AuthenticateUser() method provides client authentication information to the server.

 

The :AuthenticateUser() method is used to authenticate the client to the mail server, which will enable it to deliver mail through the server. This requires that the server support the extended SMTP protocol and the AUTH LOGIN command.

 

See Also

:GetExtendedOptions(), :HelloEx()