Classes

Method MIMEMessage():getFrom() Foundation

Retrieves the "From:" header.

Syntax
:getFrom() --> oMailAddress|NIL
Return

The method returns a MailAddress object or NIL if the "From:" header is not specified in the e-mail.

Description

The information of the "From:" header contains address information of the sender of the e-mail. This information is returned in form of a MailAddress object. The method oMailAddress:getString() must be called in turn, to obtain the sender's e-mail address as a character string.

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.