使用模拟从Office 365邮件服务器获取所有用户的电子邮件 [英] Get All users Email from Office 365 Mail Server using Impersonation
问题描述
您好,
我正在尝试使用EWS从Exchange Server检索所有用户的电子邮件。我成功从管理员帐户中检索了单个用户的电子邮件,但无法收到所有或多个用户的电子邮件。是否可以通过模拟,如果是,那么请分享一些
资源。谢谢
I am trying to retrieve all users emails from Exchange Server using EWS. I successfully retrieved single users emails from admin account but unable to get all or multiple users emails. Is it possible to through Impersonation, if yes then please share some resource. Thanks
推荐答案
嗨Sido95,
Hi Sido95,
感谢您在此发帖。
如果您的问题与EWS,f 或与EWS的进一步帮助有关,请在
Exchange Server开发 论坛。
For your question is more related to EWS, for further help with EWS, please post a new thread in Exchange Server Development forum.
您也可以尝试使用LDAP和System.DirectoryServices。
You also could try to use LDAP and System.DirectoryServices.
以下是您参考的示例。
https://www.emailarchitect.net/eagetmail/ex/c /9.aspx
http://www.infinitec.de/post/2011/10/25/Searching-the-Global-Address-List-C-Edition.aspx
最好的问候,
Wendy
注意:此回复包含参考文献t o第三方万维网站点。 Microsoft提供此信息是为了方便您。
Microsoft不控制这些网站,也没有测试在这些网站上找到的任何软件或信息;因此,Microsoft不能就其中发现的任何软件或信息的质量,安全性或适用性做出任何陈述。
使用互联网上的任何软件都存在固有的危险,微软提醒您在从Internet检索任何软件之前确保您完全了解风险。
Note: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you.
Microsoft does not control these sites and has not tested any software or information found on these sites; Therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.
这篇关于使用模拟从Office 365邮件服务器获取所有用户的电子邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!