Method MIMEMessage():addRecipient() Professional

Adds a "To:" header.

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

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


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.


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.