Classes

Method MIMEMessage():addRecipient() Foundation

Adds a "To:" header.

Syntax
:addRecipient( <oMailAddress> ) --> lSuccess
Parameters
<oMailAddress>
This parameter must receive a MailAddress object indicating a recipient of the mail message.
Return

The method returns .T. (true) if the MailAddress object could be added and .F. (false) otherwise.

Description

Recipients are defined in "To:" headers of an e-mail and can be added to a MIMEMessage object using MailAddress objects. The latter manage e-mail address strings. Multiple recipients of an e-mail are defined by calling the :addRecipient() method multiple times, passing different MailAddress objects to it.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.