使用 MS Exchange 2007 进行编程
我是 Exchange 空间编程的新手。
我想用 C# 开发交换插件。这个插件应该能够获取所有消息(所有电子邮件 ID 的消息),并且根据某些规则插件应该能够对消息执行一些操作。
谢谢, 克里希纳
I am new to programming in Exchange space.
I would like to develop exchange plugin in c#. this plugin should be able to get all the messages (messages for all email ids) and depending on some rules plugin should able to do some operation on message.
Thanks,
Krishna
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我希望这些链接能够帮助您使用 c#
第 1 部分:编程使用 MS Exchange 2007
第 2 部分:使用 MS 进行编程Exchange 2007
第 3 部分:使用 MS Exchange 2007 进行编程
I hope these links will helps you on programming with MS Exchange 2007 with c#
Part 1: programming with MS Exchange 2007
Part 2: programming with MS Exchange 2007
Part 3: programming with MS Exchange 2007
最好的起点是 msdn.microsoft.com 上的 Exchange 开发人员中心。
如果您想在邮件在邮箱之间传输时对其进行处理,则需要考虑创建 运输代理。
但是,如果您想要查看一个邮箱(或一组邮箱)中的静态邮件,则需要查看 Exchange Web 服务(在 Exchange 2007 及更高版本中受支持)。
然而,最好的选择是使用 EWS 托管 API,而不是直接针对 EWS SOAP API 进行编写(这可能很麻烦),它本质上是 SOAP API 的包装器,您可以直接从 C# 调用它,并且它使得查看邮箱内容(和其他很酷的东西)在 C# 中非常容易。
EWS 托管 API 文档
The best place to start is the Developer Center for Exchange on msdn.microsoft.com.
If you want to process messages as they're traveling between mailboxes, you want to look into creating a Transport Agent.
However, if you want to look at messages at rest, in a mailbox (or a set of mailboxes), you want to look at Exchange Web Services (supported in Exchange 2007 and up).
However, istead of writing against the EWS SOAP API directly (which can be cumbersome), your best bet is to use the EWS Managed API, which essentially a wrapper for the SOAP API that you can call directly from C#, and it makes looking at mailbox content (and other cool stuff) really easy from C#.
EWS Managed API Docs
要处理流经 Exchange 的所有邮件,您应该创建传输代理 (http://technet.microsoft.com/en-us/library/bb125012.aspx)。
To process all messages that flow through Exchange you should create a transport agent (http://technet.microsoft.com/en-us/library/bb125012.aspx).