2.2.3.110.2 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.4).

Command request/response

Parent elements

Child elements

Data type

Number allowed

Search command request (section 2.2.1.16)

Options (section 2.2.3.125.5)

None

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.

Value

Meaning

0

Never send MIME data.

1

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

2

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 2.2.2.12), the Type element ([MS-ASAIRS] section 2.2.2.41.4), 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 2.2.2.9), which is a child element of the Properties element (section 2.2.3.139.3). 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 2.2.2.41.1) with a value of 4 to inform the device that the data is a MIME BLOB.

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

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

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

For more details about the airsyncbase:Body element or the airsyncbase:BodyPreference element, see [MS-ASAIRS] section 2.2.2.9 or [MS-ASAIRS] section 2.2.2.12, 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 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes