2.2.2.50 MIMEData
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 2.2.3.11) in Sync command responses ([MS-ASCMD] section 2.2.1.21).
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 2.2.3.110.3, to a nonzero value. If the client has not enabled MIME support, the server returns the email message body in the Body element (section 2.2.2.10.2).
If the size, in characters, of the MIME data exceeds the value specified by the client in the airsync:MIMETruncation element ([MS-ASCMD] section 2.2.3.111), 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 2.2.2.51) contains the original size, in characters, of the MIME data prior to truncation. The server sets the MIMETruncated element (section 2.2.2.52) 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 2.2.3.67.2), 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 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 |
Yes |
12.0 |
|
12.1 |
|
14.0 |
|
14.1 |
|
16.0 |
|
16.1 |
|