InternetMessageHeaders

The InternetMessageHeaders element contains a collection of some of the Internet message headers that are contained in an item in a mailbox. 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.

<InternetMessageHeaders>
   <InternetMessageHeader/>
</InternetMessageHeaders>

NonEmptyArrayOfInternetHeadersType

Attributes and elements

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

Attributes

None.

Child elements

Element Description
InternetMessageHeader
Represents the Internet message header for a given header within the headers collection.

Parent elements

Element Description
AcceptItem
Represents an Accept reply to a meeting request.
CalendarItem
Represents an Exchange calendar item.
Contact
Represents an Exchange contact item.
DeclineItem
Represents a Decline reply to a meeting request.
DistributionList
Represents a distribution list.
Item
Represents an item in the Exchange store.
MeetingCancellation
Represents a meeting cancellation in the Exchange store.
MeetingMessage
Represents a meeting in the Exchange store.
MeetingRequest
Represents a meeting request in the Exchange store.
MeetingResponse
Represents a meeting response in the Exchange store.
Message
Represents an Exchange e-mail message.
RemoveItem
Removes an item from the Exchange store.
Task
Represents a task in the Exchange store.
TentativelyAcceptItem
Represents a tentatively accepted reply to a meeting request.

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
https://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