:EnumMessageHeaders()
Class
Syntax
:EnumMessageHeaders( [hMessage] ) -> aHeaders
Parameters
|
|
hMessage |
Optional. Handle of the message to act on. Provided during :CreateMessage() operation |
Return
An array containing all Header fields for the current message part.
Description
The :EnumMessageHeaders() method returns a list of header field names in the current message part.
This can be used in conjunction with the :GetMessageHeader() method to retrieve the values for every header in the message.
There is no specific order in which the header fields are enumerated by this function. The header fields from an imported message may not be returned in the same order as which they appear in the message. An application should never make an assumption about the order in which one or more header fields are defined.
See Also
:GetFirstMessageHeader(), :GetNextMessageHeader(), :GetMessageHeader(), :SetMessageHeader()