Export (0) Print
Expand All

4.4 Reply to a Rights-Managed E-Mail Message by Using the SmartReply Command

To reply to a rights-managed email message, the client sends a SmartReply command message and includes the TemplateID element. In this scenario, the client retrieves the TemplateID from the local store, because it is responding to a message that it sent originally.

Request

<?xml version="1.0" encoding="utf-8"?>
<SmartReply xmlns:rm="RightsManagement:" xmlns="ComposeMail:">
  <ClientId>634135220584105742</ClientId>
  <Source>
    <FolderId>5</FolderId>
    <ItemId>5:1</ItemId>
  </Source>
  <Mime>From: T0SyncUser2@contoso.com
To: T0SyncUser1@contoso.com
Subject: Message
MIME-Version: 1.0
Content-Type: text/plain; Charset= us-ascii
Content-Transfer-Encoding: 7bit
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441

Message contents. </Mime>
  <rm:TemplateID>CF5CF348-A8D7-40D5-91EF-A600B88A395D</rm:TemplateID>
</SmartReply>

Response

HTTP/1.1 200 OK
Date: Thu, 01 Jul 2010 02:14:20 GMT
Content-Length: 0
Show:
© 2015 Microsoft