如何跟踪 Outlook 服务器上的邮件
我正在编写一个程序,它的一些功能是跟踪发送到特定电子邮件地址的电子邮件。 服务器是MS Exchange,我想知道如何实现此功能。 目的是: 每当电子邮件发送到特定地址时:[电子邮件受保护],此程序将检测到这一点,并获取正文、主题和一些基本属性,例如时间日期和优先级。 有没有任何交换 API 可以帮助我做到这一点?非常感谢。该程序是用c#语言编写的。任何有关 .net 甚至 java 中的库的提示将不胜感激。祝你有美好的一天 !!
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.
the purpose is :
whenever an email is sent to a specific addressse : [email protected], this program will detect this, and grab the body, subject, and some basic properties like time date and priority.
is there any exchange API that could help me doing this ? thank you very much. the program is in c# language. any hint about libraries in .net or even java would be appreciated. Have a great Day !!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 EWS 托管 API。它允许您访问邮箱。
现在,根据您的反应时间(邮件到达和处理之间的时间),您可以不时轮询邮箱并处理所有新邮件。或者您可以使用推/拉/流订阅来获取有关新邮件的通知。请参阅我在 MSDN 上的文章,了解以下内容的说明不同的型号。
EWS 托管 API - 下载:http://www.microsoft.com/download /en/details.aspx?id=13480
EWS 托管 API - SDK:http://msdn.microsoft.com/en-us/库/dd633710(v=exchg.80).aspx
Use the EWS Managed 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.
EWS Managed API - Download: 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