The MIMEData element is an optional element that contains the raw MIME data of an email message that is retrieved from the server. This element is defined in the Email namespace as a child of the airsync:ApplicationData element ([MS-ASCMD] section in Sync command responses ([MS-ASCMD] section

The value of this element is a string data type, as specified in [MS-ASDTYPE] section 2.7.

This element is returned by the server only if the client enables MIME support by setting the airsync:MIMESupport element, as specified in [MS-ASCMD] section, to a nonzero value. If the client has not enabled MIME support, the server returns the email message body in the Body element (section

If the size, in characters, of the MIME data exceeds the value specified by the client in the airsync:MIMETruncation element ([MS-ASCMD] section, the string returned in the MIMEData element will be truncated up to the value specified in the airsync:MIMETruncation element. When the server truncates the MIME data, the value of the MIMESize element (section contains the original size, in characters, of the MIME data prior to truncation. The server sets the MIMETruncated element (section to 1 to indicate that the string contained in the MIMEData element has been truncated. When the client uses the airsync:Fetch element ([MS-ASCMD] section, the complete MIME data of the email message will be returned to the client regardless of the value of the airsync:MIMETruncation element.

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