:HelloEx()


Class

     aprSMTP()

 

Syntax

     :HelloEx( [cDomain], [lExtended], [hSession] ) -> lSuccess

 

Parameters

 

cDomain

String which specifies the local domain name for the client. If this value is not passed, the library will attempt to determine the local domain name from the system configuration.

 

lExtended

Optional: .T. if requesting to use Extended Options, otherwise False (.F.). Defaults to .T.

 

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 :HelloEx() method identifies the client to the remote mail server.

This must be the first call after a connection has been established with the server.

 

The :HelloEx() method allows the client to request the use of extended SMTP commands and features, such as user authentication and delivery status notification. After the client has identified itself, it should call the :GetExtendedOptions() method to determine which options are supported by the server, if any.

 

See Also

:Connect(), :BeginMessage(), :AuthenticateUser(), :GetDeliveryOptions(), :GetExtendedOptions(), :SetDeliveryOptions()