Sending emails from an application written in Java is not a big problem. Many types of software require this service to be reliable (at the application level → SMTP server). This implies that there is something like a buffer table with sending emails and some cyclic task for retrying later, if, for example, the SMTP server is unavailable, limit the number of messages sent per second or report persistent problems to the administrator.
I implemented this functionality in the main area in one project (it was not very complicated), but I wonder if there is any dedicated Java library that can be used for this purpose?
I did a search, but without any results ( vesijama , spring mail or commons mail , just simplify the preparation of the email message, but do not provide the specified functions).
java email email-integration
Marcin zajączkowski
source share