:AddRecipient()


Class

     aprSMTP()

 

Syntax

     AddRecipient ( acTo, [hSession] ) -> lSuccess

 

Parameters

 

acTo

A string containing a single recipient, or an array containg one or more recipients.

 

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 :AddRecipient() method adds one or more specified addresses to the recipient list for the current message.

 

See Also

:BeginMessage(), :EndMessage(), :ExpandAddress(), :Hello(), :VerifyAddress()