2.2.2.4 ConversationIndex

The email2:ConversationIndex element ([MS-ASEMAIL] section 2.2.2.22) is a required child element of the airsync:ApplicationData element ([MS-ASCMD] section 2.2.3.11) in a Sync command response ([MS-ASCMD] section 2.2.1.21) that specifies the conversation index for an e-mail message.

The email2:ConversationIndex element is defined in the Email2 namespace.

The value of this element is a byte array, as specified in [MS-ASDTYPE] section 2.7.1. The value comprises a set of timestamps, which can be used by a client to generate a tree-view of a conversation. The value of the first timestamp is derived from the date and time when the message was originally sent by the server. Each additional timestamp specifies the difference between the current time and the time specified by the first timestamp. Additional timestamps are added when the message is forwarded or replied to.

The email2:ConversationIndex value is set according to the description in the following diagram.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Conversation Index Header

...

Response Level 1

...

Response Level N

...

Conversation Index Header (5 bytes):  A Conversation Index Header that is derived from the date and time when the message was originally sent by the server, as specified in section 2.2.2.4.1.

Response Level 1 (5 bytes):  A Response Level that contains information about the time the message was forwarded or replied to. This field corresponds to the Response Levels field of the PidTagConversationIndex property as specified in [MS-OXOMSG] section 2.2.1.3. Additional Response Level fields are added to the email2:ConversationIndex each time the message is forwarded or replied to.

Response Level N (5 bytes):  Additional Response Level fields for each time the message is forwarded or replied to. This field is set according to the description for the Response Level 1 field.

The content of the email2:ConversationIndex element is transferred as a byte array within the WBXML tags.

The client MUST NOT change the conversation index.