What is the easiest way for a Java application to receive incoming email?
问题 Sending email is easy with commons-email, and with spring it is even easier. What about receiving incoming email? Are there easy to use APIs that allow to bounce emails, process attachments, etc. 回答1: SubEthaSMTP Mail Server allows you to create your own SMTP Server for receiving emails. 回答2: James is probably your best bet, but email handling is extremely complex, requiring not only configuration of your MTA (the James server), but also DNS. In the past, I've found it easier to initiate my