如何通过WebDav在线访问bpos Exchange?
我正在尝试通过 WebDav 访问我的 Exchange 邮箱。 在本地,我使用以下 URL 来执行此操作:
https://server/exchange/username/inbox/
由于我们将服务器移至 bpos(在线交换),我不确定使用哪个 URL 来访问我的邮箱。 bpos 服务器确实处理多个域,但我不确定将域放在上面的 url 中的哪里。
有人有以编程方式访问 bpos 交换服务器的经验吗?
谢谢 安德烈亚斯
I am trying to access my exchange mailbox via WebDav.
Locally I used the following URL to do so:
https://server/exchange/username/inbox/
Since we moved our server to bpos (exchange online) I am not sure which URL to use to access my mailbox. The bpos server does handle multiple domains and I am not sure where to put the domain in the url above.
Does anyone has some experience in accessing the bpos exchange server programmatically?
Thanks
Andreas
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
经过长时间的搜索和数十次测试,我似乎发现了我的问题:
首先,WebDav 不适用于 Exchange Online。
有一个使用 WebServices 的解决方案,效果非常好。
我似乎必须将 Exchange 版本设置为 2007_SP1。我没有找到任何选项可以将此项目留空或检测到它。
我仍然不明白的是为什么你必须提前知道交换版本,并且没有选择通过电话协商。
类似的是,我必须知道 URL 才能连接到交换服务器。不必知道数据托管在哪里,这不是云的基本思想吗?
我希望这段代码对某人有帮助。我肯定需要这个建议:-)
After a long search and dozens of tests I seem to have found my problem:
First of all, WebDav does NOT work with Exchange Online.
There is a solution using WebServices, that works quite nice.
I seem to have to set the Exchange Version to 2007_SP1. I did not find any option to leave this item blank or have it detected.
What I still cannot understand is why you have to know the exchange version in advance, and have no option to negotiate that with a call.
Similar is the fact that I have to know the URL to be able to connect to the exchange server. Is it not the basic idea of the cloud to NOT have to know where your data is hosted?
I hope this code helps somebody. I sure would have needed this advice :-)
我们使用“WebDAV .NET for Exchange”商业库通过WebDAV 协议访问Microsoft Exchange Online 服务器。您必须使用基于表单的身份验证才能登录,并且网址类似于 https:// red003.mail.microsoftonline.com/exchange/[电子邮件受保护]
We use "WebDAV .NET for Exchange", commercial library to access to Microsoft Exchange Online server over the WebDAV protocol. You have to use Forms Based Authentication to login and url is like https://red003.mail.microsoftonline.com/exchange/[email protected]