Classes

Method MIMEMessage():setFrom() Foundation

Defines the "From:" header.

Syntax
:setFrom( <oMailAddress> ) --> oOldFrom
Parameters
<oMailAddress>
This parameter must receive a MailAddress object indicating the sender of the mail message.
Return

The method returns the old MailAddress object.

Description

The sender of an e-mail must be defined in form of a MailAddress object that knows the sender's e-mail address.

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.