Method MIMEMessage():getAllHeaders() Professional

Retrieves the contents of all header fields.

:getAllHeaders() --> aHeader

The method returns a two column array holding the names and values of the header fields of the e-mail message. The first column of the array contains the names of the header fields. The second column contains the field values. If no header fields are defined for the message, return is an empty array.


This method can be used to obtain the contents of all header fields of an e-mail message.


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.