开发者

Open source java library to read outlook emails, calendar etc

开发者 https://www.devze.com 2023-01-28 07:59 出处:网络
I am looking for an open source java lib to rea开发者_JS百科d emails, calendar, contacts from Microsoft outlook. Do you know any of these lib or workaround?

I am looking for an open source java lib to rea开发者_JS百科d emails, calendar, contacts from Microsoft outlook. Do you know any of these lib or workaround?

Right now the requirement is to only read the data and present it on jsp page.

Thanks


If you are running on Windows you can probably use JaWin. It is an open source library that wraps COM object and provides you a Java API to access them. As far as I remember its distribution contains example of how to connect to MS Exchange server.

Other similar packages I know are

  • Jintegra (costs some money)
  • Jinterop (open source too)

Both libraries implement DCOM protocol in Java, so you can run application that uses them on any platform and connect to exchange server.

Other way is to use POP3 or SMTP protocol also supported by Exchange. There are a lot of packages that support them, e.g. JavaMail.

And the last way: if your application is running on client side, i.e. on the client's computer it can parse files created by outlook itself. I do not remember where these files are stored but I remember that many years ago I have discovered the issue and saw that all emails are stored in file system in clear text format.

EDIT: Recently I found out JACOB: other library that uses JNI (like JaWin).

0

精彩评论

暂无评论...
验证码 换一张
取 消