使用 MS Exchange 2007 进行编程

发布于 2024-12-15 21:37:20 字数 121 浏览 5 评论 0原文

我是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

笔芯 2024-12-22 21:37:20

最好的起点是 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

自我难过 2024-12-22 21:37:20

要处理流经 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).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文