简体   繁体   English

使用JAVA访问MS Outlook

[英]Access MS outlook using JAVA

I want to create a JAVA application which will access my MS Outlook and download attachments from some received mails. 我想创建一个JAVA应用程序,它将访问我的MS Outlook并从一些收到的邮件中下载附件。 I can not access the MS Exchange server directly and thus I plan to connect to local copy of MS Outlook installed on the machine, and then access the folder and mails from there. 我无法直接访问MS Exchange服务器,因此我计划连接到计算机上安装的MS Outlook的本地副本,然后从那里访问文件夹和邮件。

The problem is I can not get any good open source libraries to connect to outlook frommy java application. 问题是我无法从我的Java应用程序获得任何良好的开源库来连接到Outlook。 After a lot of research I found it can be done using JACOB , but it looks like an old library and I am not sure whether I should use it. 经过大量研究,我发现可以使用JACOB来完成此操作,但是它看起来像是一个旧库,不确定是否应该使用它。 Any suggestions/ideas to get it done? 有什么建议/想法可以完成吗? I am not allowed to connect to Microsoft Exchange Server directly so JAVAMAIL is of no use..:( I also got this code snippet but I can't make anything out of it. 我不允许直接连接到Microsoft Exchange Server,因此JAVAMAIL没有用.. :(我也有此代码段,但我无法从中获得任何好处。

Aspose.Email also be helpful, but it is not open source. Aspose.Email也有帮助,但它不是开源的。 I have not tried the outlook part of it though. 我还没有尝试过前景部分。 http://www.aspose.com/java/total-component.aspx http://www.aspose.com/java/total-component.aspx

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM