4.6.1 Request

The following example shows the SendMail command request (section sent from the client to the server to send an email message. The composemail:ClientId element (section represents the unique message ID of the message to be sent. The composemail:SaveInSentItems element (section indicates to the server that a copy of the message is placed in the Sent Items folder, and the composemail:Mime element (section contains the message contents.

 <?xml version="1.0" encoding="utf-8"?>
 <SendMail xmlns="ComposeMail">
   <SaveInSentItems />
   <Mime>From: testuser1
 To: testuser2
 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 email body content.</Mime>