InternetMessageHeader

The InternetMessageHeader element represents the Internet message header for a given header within the headers collection. To get the entire collection of Internet message headers, use the PR_TRANSPORT_MESSAGE_HEADERS property. For more information about EWS and Internet message headers, see "Getting Internet message headers in EWS, MIME, and the missing Internet message headers.

<InternetMessageHeader HeaderName=""/>

InternetHeaderType

Attributes and elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute Description
HeaderName
Identifies the header name.

Child elements

None.

Parent elements

Element Description
InternetMessageHeaders
Represents the collection of all Internet message headers that are contained in an item in a mailbox.

Text value

The text value represents the value for the header.

Remarks

The following is the EWS Managed API extended property definition for the PR_TRANSPORT_MESSAGE_HEADERS property.

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

The schema that describes this element is located in the IIS virtual directory that hosts Exchange Web Services.

Element information

Name Value
Namespace
http://schemas.microsoft.com/exchange/services/2006/types
Schema Name
Types schema
Validation File
Types.xsd
Can be Empty
False

See also

EWS, MIME, and the missing Internet message headers