InternetMessageHeaderCollection class

Represents a collection of Internet message headers. To get the entire collection of Internet message headers, use the PR_TRANSPORT_MESSAGE_HEADERS property.

Namespace:  Microsoft.Exchange.WebServices.Data
Assembly:  Microsoft.Exchange.WebServices (in Microsoft.Exchange.WebServices.dll)

public sealed class InternetMessageHeaderCollection : ComplexPropertyCollection<InternetMessageHeader>

The following is the definition for the PR_TRANSPORT_MESSAGE_HEADERS extended property.

ExtendedPropertyDefinition PR_TRANSPORT_MESSAGE_HEADERS = new ExtendedPropertyDefinition(0x007D, MapiPropertyType.String);

You can add this property definition to the PropertySet object to get the Internet message headers.

For more information about EWS and Internet message headers, see “Getting Internet message headers” in EWS, MIME, and the missing Internet message headers.

Any public static ( in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.