Was this page helpful?
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

4.7.1 Request

The following example shows the SmartReply command request (section 2.2.2.19) sent from the client to the server to reply to an email message. The composemail:ClientId element (section 2.2.3.28.1) represents the unique message ID of the reply message to be sent. The composemail:SaveInSentItems element (section 2.2.3.147) indicates to the server that a copy of the message is placed in the Sent Items folder. The composemail:FolderId element (section 2.2.3.70) identifies the folder that contains the message that is being responded to, the composemail:ItemId element (section 2.2.3.87) identifies the message being responded to, and the composemail:Mime element (section 2.2.3.102) contains the message contents of the reply message.

  
 <?xml version="1.0" encoding="utf-8"?>
 <SmartReply xmlns="ComposeMail">
   <ClientId>d7b99822-685a-4a40-8dfb-87a114926986</ClientId>
   <SaveInSentItems />
   <Source>
     <FolderId>5</FolderId>
     <ItemId>5:10</ItemId>
   </Source>
   <Mime>From: testuser1
 To: "Test User 2" &lt;testuser2@contoso.com&gt;
 Cc: 
 Bcc: 
 Subject: RE: Lunch
 MIME-Version: 1.0
 Content-Type: text/plain; charset="iso-8859-1"
 Content-Transfer-Encoding: 7bit
 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350
 This is the body of the smart reply message.</Mime>
 </SmartReply>
Show:
© 2016 Microsoft