Automated processing of an Email in Java

Question :

Automated processing of an Email in Java,

Answer :

Just got a request from my boss for an application I’m working on. Basically we’re getting an email address setup for an external client to submit excel files to.

What I need is a way to automatically pick up any email sent to this address, so I can take the attachment, process it and save it to a folder.

Any information of even where to start would be helpful.

Note: We’re using a lotus notes server to do this, but a generic way would be more helpful (If possible).

Read More  Learning Version Control, and learning it well

,

Email -> mailserver ->[something] -> file-on-disk.

File on disk is pretty easy to parse, use

The [something] could be:

  • listener for smtp connections (overkill)!
  • client
  • /Mailbox

That’s the answer Automated processing of an Email in Java, Hope this helps those looking for an answer. Then we suggest to do a search for the next question and find the answer only on our site.

Disclaimer :

The answers provided above are only to be used to guide the learning process. The questions above are open-ended questions, meaning that many answers are not fixed as above. I hope this article can be useful, Thank you

Read More  Instrumenting Database Access