MIMESupport (Search)

The airsync:MIMESupport element is an optional child element of the Options element in Search command requests that enables MIME support for email items that are sent from the server to the client.

Elements referenced in this section are defined in the Search namespace, except where otherwise indicated by the presence of a namespace prefix (as defined in section 2.2.1).

Command request/response

Parent elements

Child elements

Data type

Number allowed

Search command request (section

Options (section


integer ([MS-ASDTYPE] section 2.6)

0...1 (optional)

The result of including more than one airsync:MIMESupport element in a Search command request is undefined. The server MAY return a protocol status error in response to such a command request.

The following table lists the valid values for the element. If the MIMESupport element is not present, the default value of 0 is used.




Never send MIME data.


Send MIME data for S/MIME [RFC5751] messages only. Send regular body (non S/MIME) data for all other messages.


Send MIME data for all messages. This flag could be used by clients to build a more rich and complete Inbox solution.

The Search response can include the S/MIME BLOB of a signed/encrypted message.

If the airsync:MIMESupport element is set to 1 or 2 in the Search request:

  • The child element of the airsyncbase:BodyPreference element ([MS-ASAIRS] section, the Type element ([MS-ASAIRS] section, SHOULD be included in the Search request, containing a value of 4 to inform the server that the device can read the MIME BLOB.

  • The response from the server MUST include the airsyncbase:Body element ([MS-ASAIRS] section, which is a child element of the Properties element (section The airsyncbase:Body element is a complex element and MUST contain the following child elements in an S/MIME Search response:

    • The airsyncbase:Type element ([MS-ASAIRS] section with a value of 4 to inform the device that the data is a MIME BLOB.

    • The airsyncbase:EstimatedDataSize element ([MS-ASAIRS] section to specify the rough total size of the data.

    • The airsyncbase:Truncated element ([MS-ASAIRS] section to indicate whether the MIME BLOB is truncated.

    • The airsyncbase:Data element ([MS-ASAIRS] section that contains the full MIME BLOB.

For more details about the airsyncbase:Body element or the airsyncbase:BodyPreference element, see [MS-ASAIRS] section or [MS-ASAIRS] section, respectively.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section, or the Protocol version field, as specified in [MS-ASHTTP] section, in the request.

Protocol version

Element support