积极答复者
exchange activesync 发送邮件不成功

问题
-
我要在手机 做一个邮件客户端,需要使用exchange ,
activesync floder已经完成,发送邮件遇到问题。
Request:
<?xml version="1.0" encoding="utf-8"?>
<SendMail xmlns="ComposeMail:">
<ClientId>633724606026842400</ClientId>
<Mime>From: XXX@ddd.com
To: to@fag.com
Subject: Mail Subject
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
This is the body text
</Mime>
</SendMail>
服务器返回
<?xml version="1.0" encoding="utf-8"?>
<SendMail xmlns="ComposeMail">
<Status>110</Status>
</SendMail>什么原因呢!
答案
-
一般在Windows Store App里面,发送邮件是通过share charm里面的share to email选项来发送,目前没有官方的send mail API,包括System.Net.Mail也不支持。不过如果你愿意的话,可以通过Socket或者web service来实现。
Windows Phone倒是有: 快速入门:发送电子邮件
我也不清楚Exchange是否有对应的API,这个需要到Exchange论坛去提问了。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已标记为答案 Jamles HezModerator 2014年12月2日 9:56
全部回复
-
我要在手机 做一个邮件客户端,需要使用exchange ,
activesync floder已经完成,发送邮件遇到问题。
Request:
<?xml version="1.0" encoding="utf-8"?>
<SendMail xmlns="ComposeMail:">
<ClientId>633724606026842400</ClientId>
<Mime>From: XXX@ddd.com
To: to@fag.com
Subject: Mail Subject
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: base64
This is the body text
</Mime>
</SendMail>
服务器返回
<?xml version="1.0" encoding="utf-8"?>
<SendMail xmlns="ComposeMail">
<Status>110</Status>
</SendMail>什么原因呢!
- 已合并 Jamles HezModerator 2014年11月18日 5:52 same question
-
你好 dzd2,
你是通过Windows Store App或者Windows Phone在开发程序吗?你现在是在问关于Exchange的一个API吗?
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later. -
一般在Windows Store App里面,发送邮件是通过share charm里面的share to email选项来发送,目前没有官方的send mail API,包括System.Net.Mail也不支持。不过如果你愿意的话,可以通过Socket或者web service来实现。
Windows Phone倒是有: 快速入门:发送电子邮件
我也不清楚Exchange是否有对应的API,这个需要到Exchange论坛去提问了。
--James
<THE CONTENT IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, WHETHER EXPRESS OR IMPLIED>
Thanks
MSDN Community Support
Please remember to "Mark as Answer" the responses that resolved your issue. It is a common way to recognize those who have helped you, and makes it easier for other visitors to find the resolution later.- 已标记为答案 Jamles HezModerator 2014年12月2日 9:56