C#编程:如何监视来自Exchange Server的新接收电子邮件并获取电子邮件信息? [英] C# Programming: How to monitor the new receiving Email from the Exchange Server and to get the Information of the Email?
问题描述
大家好,
我遇到了一个问题,但我不知道如何解决.我需要编写一个C#程序来监视来自Exchange Server的新接收电子邮件,并获取诸如电子邮件的主题和收件人之类的信息,然后我需要判断收件人是否通过Outlook连接到Exchange Server.
我搜索了一下,发现MAPI可以做这个.但是我不太确定.我不知道该怎么用.
那么,你能告诉我MAPI是否可以做到这一点?能否给我一些使用MAPI的示例?
非常感谢.
最好的问候,
Tee Han
Hello everyone,
I face a question, but I don't know how to solve it. I need to code a C# Program to monitor the new receiving Email from the Exchange Server, and get the information, such as the subject and receiver of the Email, and I need to judge whether the receiver connect to Exchange Server by Outlook, or not.
I googled, and found that may MAPI can do this. But I'm not very sure. I don't know how to use this.
So, could you tell me whether the MAPI can do this or not? And could you give me some samples of using MAPI?
Thank you so much.
Best regards,
Tee Han
推荐答案
您好,
感谢您的信息!
您可以在此处获取有关MAPI的信息.
1> ( http://g8.cx/mapi/)
2> ( http://msdn.microsoft.com/en-us/library/ms526359( EXCHG.10).aspx )
希望有帮助.
这篇关于C#编程:如何监视来自Exchange Server的新接收电子邮件并获取电子邮件信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!