4.3 Request That the Server Not Decompress and Decrypt Rights-Managed E-mail Messages
When the client does not request that the server decompress and decrypt rights-managed email messages, the server sends the content as a message.rpmsg attachment, as described in [MS-OXORMMS] section 2.2.4.5. In this scenario, the RightsManagementSupport element is not included in the Sync command request, and a default value of FALSE is assumed on the server.
The response message includes the file message.rpmsg as an attachment to the e-mail message. The message.rpmsg file includes the protected content, which cannot be opened on a client that does not support IRM natively.
Request
-
<?xml version="1.0" encoding="utf-8"?> <Sync xmlns:airsyncbase="AirSyncBase:" xmlns="AirSync:"> <Collections> <Collection> <SyncKey>408238195</SyncKey> <CollectionId>5</CollectionId> <GetChanges>1</GetChanges> <Options> <airsyncbase:BodyPreference> <airsyncbase:Type>1</airsyncbase:Type> </airsyncbase:BodyPreference> </Options> </Collection> </Collections> </Sync>
Response
-
<?xml version="1.0" encoding="utf-8"?> <Sync xmlns:email="Email:" xmlns:airsyncbase="AirSyncBase:" xmlns:email2="Email2:" xmlns:rm="RightsManagement:" xmlns="AirSync:"> <Collections> <Collection> <SyncKey>334913177</SyncKey> <CollectionId>5</CollectionId> <Status>1</Status> <Commands> <Add> <ServerId>5:1</ServerId> <ApplicationData> <email:To>"T0SyncUser3" <T0SyncUser3@contoso.com></email:To> <email:From>"T0SyncUser1" <T0SyncUser1@contoso.com></email:From> <email:Subject> ReplyReplyAllForward</email:Subject> <email:DateReceived>2010-07-01T02:14:43.245Z</email:DateReceived> <email:DisplayTo>T0SyncUser3</email:DisplayTo> <email:ThreadTopic>ReplyReplyAllForward</email:ThreadTopic> <email:Importance>1</email:Importance> <email:Read>0</email:Read> <airsyncbase:Attachments> <airsyncbase:Attachment> <airsyncbase:DisplayName>message.rpmsg</airsyncbase:DisplayName> <airsyncbase:FileReference>5%3a1%3a0</airsyncbase:FileReference> <airsyncbase:Method>1</airsyncbase:Method> <airsyncbase:EstimatedDataSize>9915</airsyncbase:EstimatedDataSize> </airsyncbase:Attachment> </airsyncbase:Attachments> <airsyncbase:Body> <airsyncbase:Type>1</airsyncbase:Type> <airsyncbase:EstimatedDataSize>289</airsyncbase:EstimatedDataSize> <airsyncbase:Data>The message you tried to open is protected with Information Rights Management.</airsyncbase:Data> </airsyncbase:Body> <email:MessageClass>IPM.Note</email:MessageClass> <email:InternetCPID>28591</email:InternetCPID> <email:Flag /> <email:ContentClass>rpmsg.message</email:ContentClass> <airsyncbase:NativeBodyType>1</airsyncbase:NativeBodyType> <email2:ConversationId>…</email2:ConversationId> <email2:ConversationIndex>…</email2:ConversationIndex> <email:Categories /> <email2:IsDraft>0</email2:IsDraft> </ApplicationData> </Add> </Commands> </Collection> </Collections> </Sync>