user618111 user618111 - 1 year ago 115
Java Question

How to read email of outlook with javamail?

i'm beginner in java and everyday i receive many emails from a machine with attached files.
i have to open everday outlook and the retrieve the attached file and then put it in a folder.

How could do this with javamail or anything else in java, it must open the email, retrieve the attached xtt file and then store it in a folder.

Could someone help me to do this task or direct me to tutorial page or sample.

Thank you very much

Answer Source

Maybe you could perform message sort using something like procmail? Also make sure that you're using imap instead of pop3. It will give you an ability to organize your e-mails into folders on server side.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download