2.2.3.111 MIMETruncation
The MIMETruncation element is an optional child element of the Options element in Sync command requests that specifies whether the MIME data of the email item SHOULD be truncated when it is sent from the server to the client.
All elements referenced in this section are defined in the AirSync namespace.
Command request/response |
Parent elements |
Child elements |
Data type |
Number allowed |
---|---|---|---|---|
Sync command request (section 2.2.1.21) |
Options (section 2.2.3.125.6) |
None |
unsignedByte ([MS-ASDTYPE] section 2.8) |
0...1 (optional) |
The following table lists valid values for the element.
Value |
Meaning |
---|---|
0 |
Truncate all body text. |
1 |
Truncate text over 4,096 characters. |
2 |
Truncate text over 5,120 characters. |
3 |
Truncate text over 7,168 characters. |
4 |
Truncate text over 10,240 characters. |
5 |
Truncate text over 20,480 characters. |
6 |
Truncate text over 51,200 characters. |
7 |
Truncate text over 102,400 characters. |
8 |
Do not truncate; send complete MIME data. |
The size of the truncated message returned in the response is not the exact size of the MIMETruncation element value; the size specified by the MIMETruncation element is an approximate value. This is because line feeds are treated as one character locally, but are counted as two characters during truncation.
The result of including more than one MIMETruncation element as the child element of the Options element is undefined. The server MAY return a protocol status error in response to such a command request.
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 |
Yes |
12.1 |
Yes |
14.0 |
Yes |
14.1 |
Yes |
16.0 |
Yes |
16.1 |
Yes |