如何从 Exchange 2007 服务器检索邮件?

发布于 2024-08-15 09:52:24 字数 88 浏览 2 评论 0原文

我需要编写一个可以从 Exchange 2007 中的邮箱读取电子邮件和附件的应用程序。执行此操作的最佳方法是什么? Outlook 兑换有效,但有更好的方法吗?

I need to write an application that can read email and attachments from a mailbox in Exchange 2007. What is the best way to do this? Outlook Redemption works, but is there a better way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(3

相权↑美人 2024-08-22 09:52:24

您可以简单地使用 POP3 或 IMAP 来访问 Exchange 服务器上的邮件。
根据您的环境,您可能会找到提供 POP3 或 IMAP 实现的库。

You could simply us POP3 or IMAP to access the mails on the Exchange server.
Depending on your environment you would probably find libraries that provide POP3 or IMAP implementation.

浅黛梨妆こ 2024-08-22 09:52:24

有几种方法可以做到这一点。从 POP3 或 IMAP(如 Dominik 所示)开始,到更强大的选项,例如 Exchange 开发技术

我会避免使用 Microsoft 正在逐步淘汰的 API 开始新的开发,因此您可能需要查看 上述文章的 Exchange Server 2010 版本。

安全的选择是使用 Exchange Web 服务(又名 EWS)。您应该能够使用任何能够执行 SOAP Web 服务的语言对其进行编程。

如果您针对 .Net Framework 3.5 或更高版本以及 Exchange Server 2007 SP1 或更高版本进行编程,则可以使用 EWS 托管 API,它是 EWS 的客户端 API,提供比自动生成的 Web 服务代理提供的更简洁的体验(通过“添加 Web 引用”菜单项) 。

There are several ways to do this. Starting from POP3 or IMAP (as indicated by Dominik) to more powerful options such as the ones listed at Exchange Development Technologies.

I would avoid starting new developments with APIs that are being phased out by Microsoft, so you may want to take a look at the Exchange Server 2010's version of the article above.

A safe bet would be to use Exchange Web Services (a.k.a EWS). You should be able to program against it using any language capable of doing SOAP Web Services.

If you are programming against .Net Framework 3.5 or above and Exchange Server 2007 SP1 or above, you can use EWS Managed API which is the client-side API for EWS and offers a much cleaner experience than the one provided by auto-generated web service proxies (via Add Web Reference menu item).

傲娇萝莉攻 2024-08-22 09:52:24

使用 Microsoft Exchange Server MAPI 编辑器 (MFCMAPI),这是检索 MSG(或 EML)文件的出色工具。

我个人使用 Coldfusion 中的 cfexchangeConnection 来联系邮箱(以及交换的所有其他项目)

Use Microsoft Exchange Server MAPI Editor (MFCMAPI) which is a great tool to retrieve MSG (or EML) files.

I personally use the cfexchangeConnection in coldfusion to reach out to mailboxes (as well as all other items in exchange)

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