Method MIMEMessage():getHeader() Professional

Retrieves the contents of a header field.

Syntax
:getHeader( <cName> ) --> cContent|NIL
Parameters
<cName>
This parameter is a character string describing the name of the e-mail's header field to retrieve.
Return

The method returns the contents of an arbitrary header field of an e-mail message or NIL, when the specified header field does not exist.

Description

This method provides a generalized way for obtaining the contents of a header field of an e-mail message. It can be used for accessing header fields for which no specific get method exists in the MIMEMessage class. Examples for such headers are listed for the :addHeader()method.

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.