:BeginMessage()


Class

     aprSMTP()

 

Syntax

     :BeginMessage(cFrom, [hSession] )) -> lSuccess

 

Parameters

 

cFrom

The Sender's email address

 

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 SmtpBeginMessage function clears the recipient list and begins a new message.

 

See Also

:AddRecipient(), :EndMessage(), :GetCurrentDate(), :Hello()