简体   繁体   English

如何在Outlook服务器上跟踪消息

[英]how to track messages on an outlook server

i'm writting a program, and some of its features is to track email messages sent to a specific email addresse. 我正在编写一个程序,它的某些功能是跟踪发送到特定电子邮件地址的电子邮件。 the server is MS exchange, and i'm wondering how to make this feature. 该服务器是MS交换,我想知道如何使此功能。 the purpose is : whenever an email is sent to a specific addressse : admin@domain.com, this program will detect this, and grab the body, subject, and some basic properties like time date and priority. 目的是:每当将电子邮件发送到特定的地址:admin@domain.com时,此程序都会检测到该错误,并获取正文,主题以及一些基本属性(如时间日期和优先级)。 is there any exchange API that could help me doing this ? 是否有任何交换API可以帮助我做到这一点? thank you very much. 非常感谢你。 the program is in c# language. 该程序是C#语言。 any hint about libraries in .net or even java would be appreciated. 有关.net甚至Java库的任何提示将不胜感激。 Have a great Day !! 祝你有美好的一天 !!

Use the EWS Managed API. 使用EWS托管API。 It allows you to access a mailbox. 它允许您访问邮箱。

Now, depending on your reaction time (time between message arrival and processing), you can either poll the mailbox from time to time and process all new mails. 现在,根据您的反应时间(到达和处理邮件之间的时间),您可以不定期轮询邮箱并处理所有新邮件。 Or you can use push/pull/streaming subscriptions to get notifications about new mails. 或者,您可以使用推/拉/流订阅来获取有关新邮件的通知。 See my article on MSDN for a description of the different models. 有关不同模型的描述,请参见我在MSDN上的文章

EWS Managed API - Download: http://www.microsoft.com/download/en/details.aspx?id=13480 EWS托管API-下载: http : //www.microsoft.com/download/en/details.aspx?id=13480

EWS Managed API - SDK: http://msdn.microsoft.com/en-us/library/dd633710(v=exchg.80).aspx EWS托管API-SDK: http//msdn.microsoft.com/zh-cn/library/dd633710 (v = exchg.80).aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM