title: ActiveSync SendMail - Staus Code 110 Returned
body: <p>I am attempting to write a C# program to simulate an ActiveSync Device sending email via the SendMail command.</p>
  
  <p>Each time I send the request to the exchange server...the response sends back status code 110 - Unknown Server Error</p>
  
  <p>And in the Device Log I see the following exception:</p>
  
  <p>--- Exception start ---
   Exception type: System.NotImplementedException
   Exception message: This kind of node should contain a blob, not a string
   Exception level: 0
   Exception stack trace:    at
   Microsoft.Exchange.AirSync.Wbxml.AirSyncBlobXmlNode.set_InnerText(String value)
      at Microsoft.Exchange.AirSync.Wbxml.WbxmlReader.FillXmlElement(XmlElement elem,
   Int32 depth, Boolean elemIsSecureData, Boolean elemIsBlobData)
      at Microsoft.Exchange.AirSync.Wbxml.WbxmlReader.FillXmlElement(XmlElement elem,
   Int32 depth, Boolean elemIsSecureData, Boolean elemIsBlobData)
      at Microsoft.Exchange.AirSync.Wbxml.WbxmlReader.ReadXmlDocument()
      at Microsoft.Exchange.AirSync.AirSyncRequest.get_XmlDocument()
      at Microsoft.Exchange.AirSync.Command.get_XmlRequest()
      at Microsoft.Exchange.AirSync.Command.WorkerThread()
   --- Exception end ---</p>
  
  <p>My XML looks like this before WBXML encoding:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;SendMail xmlns="ComposeMail:"&gt;
    &lt;ClientId&gt;1234567890122525636247547456&lt;/ClientId&gt;
    &lt;Mime&gt;From: scaletester261002@abc.com
  To: scaletester361001@abc.com
  Subject: Mail Subject
  MIME-Version: 1.0
  Content-Type: text/plain; charset=utf-8
  Content-Transfer-Encoding: 8bit
  Test body
  &lt;/Mime&gt;
  &lt;/SendMail&gt;
  </code></pre>
  
  <p>I can successfully issue Provision, FolderSync, Sync, and Setting commands but I can't figure out what I am doing wrong with this request call.</p>
  
  <p>If anyone could point me in the right direction, I would really appreciate it.</p>
  
  <p>Thank you in advance!</p>