Spring Boot Email: JavaMailSender Configuration for Production
Spring Boot makes email look almost free. Add one starter dependency, set a few properties, inject JavaMailSender, and a test message goes out on the first try. Production is where the gaps show. A request thread hangs for minutes because a mail server stopped responding. The application refuses to start because a bean could not […]
