简体   繁体   中英

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. 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.

The problem is I can not get any good open source libraries to connect to outlook frommy java application. 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. 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.

Aspose.Email also be helpful, but it is not open source. I have not tried the outlook part of it though. http://www.aspose.com/java/total-component.aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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