本文介绍了Exchange服务器回复103到我的EAS SendMail命令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

到目前为止,我所有的其他请求,如Sync,FolderSync,Provision都运行良好。但是,在发送SendMail请求后,服务器响应200 OK,wbxml正文表示状态为103秒(我到目前为止所有其他响应都立即返回。
不确定这是否重要)。在响应标题中,我们有:

All my other requests like Sync, FolderSync, Provision work well so far. But the server responds 200 OK with wbxml body that says status is 103 several seconds after I send the SendMail request (all of the other responses I got so far are returned immediately. Not sure if this matters). In the response header, we have:

X-MS-ASError:Message =无效的根节点。预期:'SendMail'发现:'WbxmlConversionError';严重性=错误

我的请求如下
(个人信息,如电子邮件地址被掩盖)

POST / Microsoft-Server-ActiveSync?User = xxx& DeviceType = SP& DeviceId = mztb4fe7e0a1da2dc4b7af79241cbbe9& Cmd = SendMail

POST /Microsoft-Server-ActiveSync?User=xxx&DeviceType=SP&DeviceId=mztb4fe7e0a1da2dc4b7af79241cbbe9&Cmd=SendMail

MS-ASProtocolVersion:14.0

MS-ASProtocolVersion: 14.0

Content-键入:application / vnd.ms-sync.wbxml

Content-Type: application/vnd.ms-sync.wbxml

接受:* / *

授权:基本a2g ...(掩盖输出)

Authorization: Basic a2g...(mask out)

主持人:... (掩盖掉)

我解码的正文流:

03 01 6a -  <?xml version =" 1.0" encoding =" utf-8"?>

03 01 6a - <?xml version="1.0" encoding="utf-8"?>

00 - 字符串表

00 - string table

00 15 - 页面切换到ComposeMail

00 15 - page switch to ComposeMail

45 - < SendMail xmlns:"ComposeMail">

45 - <SendMail xmlns:"ComposeMail">

51 - < ClientId>

51 - <ClientId>

03 31 35 32 33 35 00 - 字符串"15235"

03 31 35 32 33 35 00 - string "15235"

01 - < / ClientId>

01 - </ClientId>

08 - < SaveInSentItems />

08 - <SaveInSentItems/>

50 - < Mime>

50 - <Mime>

C3 - OPAQUE

C3 - OPAQUE

00 00 00 AF - 长度

00 00 00 AF - length

46 72 6F 6D 3A 20 4D 65 40 61 2E 63 6F 6D 0D 0A - 来自:[email protected] \\ n

46 72 6F 6D 3A 20 4D 65 40 61 2E 63 6F 6D 0D 0A - From: [email protected]\r\n

54 6F 3A 20 54 65 73 74 40 61 2E 63 6F 6D 0D 0A -To:[email protected]\\ n

54 6F 3A 20 54 65 73 74 40 61 2E 63 6F 6D 0D 0A -To: [email protected]\r\n

43 63 3A 20 0D 0A - Cc:\\\\ n

43 63 3A 20 0D 0A - Cc: \r\n

42 63 63 3A 20 0D 0A - 密送:\ r\ n

42 63 63 3A 20 0D 0A - Bcc: \r\n

53 75 62 6A 65 63 74 3A 20 57 68 79 0D 0A - 主题:为什么\\ n

53 75 62 6A 65 63 74 3A 20 57 68 79 0D 0A - Subject: Why\r\n

4D 49 4D 45 2D 56 65 72 73 69 6F 6E 3A 20 31 2E 30 0D 0A - MIME-Version:1.0 \ r \ n

4D 49 4D 45 2D 56 65 72 73 69 6F 6E 3A 20 31 2E 30 0D 0A - MIME-Version: 1.0\r\n

43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 74 65 78 74 2F 70 6C 61 69 6E 3B 20 63 68 61 72 73 65 74 3D 22 69 73 6F 2D 38 38 35 39 2D 31 22 0D 0A - 内容类型:文本/平原; charset = \" iso-8859-1 \" \\ n

43 6F 6E 74 65 6E 74 2D 54 79 70 65 3A 20 74 65 78 74 2F 70 6C 61 69 6E 3B 20 63 68 61 72 73 65 74 3D 22 69 73 6F 2D 38 38 35 39 2D 31 22 0D 0A - Content-Type: text/plain; charset=\"iso-8859-1\"\r\n

43 6F 6E 74 65 6E 74 2D 54 72 61 6E 73 66 65 72 2D 45 6E 63 6F 64  

43 6F 6E 74 65 6E 74 2D 54 72 61 6E 73 66 65 72 2D 45 6E 63 6F 64 

69 6E 67 3A 20 62 61 73 65 36 34 0D 0A - 内容传输编码:base64 \\\ n

69 6E 67 3A 20 62 61 73 65 36 34 0D 0A - Content-Transfer-Encoding: base64\r\n

0D 0A - \\ n

0D 0A - \r\n

62 6D 39 30 49 48 64 76 63 6D 73 68 - "不工作!" (转移到base64)

62 6D 39 30 49 48 64 76 63 6D 73 68 - "not work!"(transferred to base64)

01 - < / Mime>

01 - </Mime>

01 - < / SendMail>

01 - </SendMail>

我错过了什么?

What did I miss?

推荐答案

感谢您的提问。 协议团队的工程师将尽快与您联系。

Thank you for your question.  An engineer from the protocols team will contact you soon.


这篇关于Exchange服务器回复103到我的EAS SendMail命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-28 14:26