Best mail library for Java web applications

email, java

Solution

"Best" is subjective, especially since you didn't specify any particular features you may be looking for.

With that said, here's a couple to get you started:

- Simple Java Mail - built on top of JavaMail, simplifies API to produce a correct emails

- Commons Email - built on top of JavaMail, simplifies certain commonly used scenarios.

- Spring Email integration (only if you're using Spring already)

javaee.github curates a comprehensive list with many more:

- https://javaee.github.io/javamail/ThirdPartyProducts

Oracle has a curated list as well, although the lists are suspiciously similar:

- http://www.oracle.com/technetwork/java/javamail/third-party-136965.html

Problem

I am investigating on the best free mail library to use for Java web applications. It is something with more support and easy to use. If it's complex but would be justified by its great features it might do. Have any suggestions?

Original source