Java + MS Exchange:如何检索 .msg 文件

发布于 2024-08-15 04:19:10 字数 259 浏览 1 评论 0原文

我创建了一个 Java 程序,用它可以从 Exchange 邮件服务器检索邮件。问题是:邮件是 EML 格式,我需要 MSG 格式!

现在我正在通过 Exchange 的 Web 访问部分检索邮件,使用 Apache Slide 项目...是否可以使用 java 从 Exchange 服务器检索 msg 文件?

我见过 C# 代码、.NET 代码等的示例。是否有可能以某种方式将这些代码片段与 Java 集成,以便我可以使用它来检索邮件?

问候, 塞萨尔

I've created a Java program with which I can retrieve mail from an Exchange mailserver. Problem is: the mail is in EML format and I need the MSG format!

Right now I'm retrieving mail through the web access part of Exchange, using the Apache Slide project... is it possible at all to use java to retrieve msg files from an Exchange server?

I've seen examples of C# code, .NET code etc.. isn't it possible somehow to integrate these pieces of code with Java so I can use it to retrieve mail?

Greets,
Cesar

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

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

发布评论

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

评论(1

清君侧 2024-08-22 04:19:10

I've done this in Java using Dmitry's RDO library, which is a sub-part of his Outlook Redemption library. See http://www.dimastr.com/redemption/rdo/default.htm. The library builds on top of MAPI. You will need a COM library for this also for which I've used JACOB (Java COM Bridge). See http://sourceforge.net/projects/jacob-project/

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