Method MIMEMessage():setAllHeaders() Foundation
Sets the contents of all header fields.
:setAllHeaders( <aHeader> ) --> aOldHeader
The method returns a two column array holding the names and contents of all previous header fields of an e-mail.
This method can be used to define the contents of all header fields of an e-mail message within one method call. The first column of the passed array contains the names of the header fields and the second column their contents. Please take into consideration, that this call will erase all headers which are already set.
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.