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

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

<p>Any information of even where to start would be helpful.\</p>

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

Email -> mailserver ->[something] -> file-on-disk.
File on disk is pretty easy to parse, use
JavaMail
.
The [something] could be:
listener for smtp connections (overkill)!
Pop3
/
imap
client
Maildir
/Mailbox