4.6.1 Request

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

 <?xml version="1.0" encoding="utf-8"?>
 <SendMail xmlns="ComposeMail">
   <ClientId>633916348086136194</ClientId>
   <SaveInSentItems />
   <Mime>From: testuser1
 To: testuser2
 Cc: 
 Bcc: 
 Subject: 
 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>
 </SendMail>
Show: