Read email outlook via Java EE on localhost
Asked Answered
W

1

0

I created an application with 3 virtual machines and I supervise all these machines with Nagios.

I use nagios to send me email to my Outlook on localhost with postfix and I went to got all mail with a Java EE application and put them in my database.

How can I extract all my email from MS outlook with Java EE and put them in my database?

I use IMAP in postfix to send email to Outlook on my localhost

I have Outlook version 2007 and Windows 7

Cordialement

Weatherboarding answered 20/7, 2013 at 12:4 Comment(1)
#4781370Protector
L
3

First, there is nothing named "JEE". The correct name is "Java EE".

Second, Outlook is an email client. Exchange is the email server. If the messages are on the Exchange server, and the Exchange server is configured to allow IMAP access, you can use JavaMail to read all the messages on the server. Start with the JavaMail FAQ.

If the messages are really on your desktop/laptop machine, stored in the Outlook client, e.g., because you've configured Outlook to download all the messages, store them locally, and remove them from the server, then you have a much harder problem. Outlook stores the messages locally in a Microsoft proprietary format that JavaMail doesn't directly support. There are some third party tools to help read such messages.

Livre answered 20/7, 2013 at 18:0 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.