Export (0) Print
Expand All
And
Day
End
ID
Ids
Not
Or
SID
To
UID
URL
Expand Minimize

IncludeMimeContent

Last modified: March 16, 2009

Applies to: Exchange Server 2007 | Exchange Server 2010

The IncludeMimeContent element specifies whether the Multipurpose Internet Mail Extensions (MIME) content of an item or attachment is returned in the response.


<IncludeMimeContent>true or false</IncludeMimeContent>

boolean

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

Attributes

None.

Child Elements

None.

Parent Elements

Element

Description

AttachmentShape

Identifies additional properties to return in a response to a GetAttachment request.

The following is the XPath expression to this element:

  • /GetAttachment/AttachmentShape

ItemShape

Identifies the item properties and content to include in a GetItem, FindItem, or SyncFolderItems response.

The following are the XPath expressions to this element:

  • /GetItem/ItemShape

  • /FindItem/ItemShape

  • /SyncFolderItems/ItemShape

This element can be either true or false. The default value is false. This is a Boolean data type.

This element is optional.

The schema that describes this element is located in the EWS virtual directory of the computer that is running MicrosoftExchange Server 2007 that has the Client Access server role installed.

The following example of a request demonstrates a how to set the IncludeMimeContent element.

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
               xmlns:xsd="http://www.w3.org/2001/XMLSchema"
               xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
               xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
  <soap:Body>
    <GetAttachment xmlns="http://schemas.microsoft.com/exchange/services/2006/messages" 
                      xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types">
      <AttachmentShape>
        <t:IncludeMimeContent>true</t:IncludeMimeContent>
        <t:BodyType>Best</t:BodyType>
      </AttachmentShape>
      <AttachmentIds>
        <t:AttachmentId Id="ASkAS="/>
      </AttachmentIds>
    </GetAttachment>
  </soap:Body>
</soap:Envelope>

The attachment Id attribute is truncated to preserve readability.

Namespace

http://schemas.microsoft.com/exchange/services/2006/types

Schema Name

Types schema

Validation File

Types.xsd

Can be Empty

False

Show:
© 2015 Microsoft