:Login()


Class

     aprPOP()

 

Syntax

     :Login(cUserName,cPassword,[hSession]) -> lSuccess

 

Parameters

 

 

cUserName

User name

 

cPassword

Password

 

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 :Login() method authenticates the specified user in on the remote server.

This method must be called after the connection has been established, and before attempting to retrieve messages or perform any other function on the remote host.

  

See Also

:LoginEx(), :Connect(), :ConnectEx(), :Disconnect()