2.2.3.110.1 MIMESupport (ItemOperations)

The airsync:MIMESupport element is an optional child element of the Options element in ItemOperations command requests that enables MIME support for email items that are sent from the server to the client. For an example, see section 4.10.2.

Elements referenced in this section are defined in the ItemOperations 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

ItemOperations command request (section 2.2.1.10) fetch operation

Options (section 2.2.3.125.3)

None

unsignedByte ([MS-ASDTYPE] section 2.8)

0...1 (optional)

The following table lists the valid values for this 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 messages only. Send regular body 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.

To support fetching of the full S/MIME message, the ItemOperations command request MUST include the following elements in the Options element:

  • The airsync:MIMESupport element (section 2.2.3.110.3) to indicate to the server to return MIME for S/MIME-only messages, all messages, or no messages.

  • The airsyncbase:BodyPreference element ([MS-ASAIRS] section 2.2.2.12) with its child element, Type ([MS-ASAIRS] section 2.2.2.41.4), having a value of 4 to inform the server that the device can read the MIME binary large object (BLOB).

The server's response 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.2). The airsyncbase:Body element is a complex element and MUST contain the following child elements in an S/MIME 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: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