Timeouts not working for synchronous sendMail calls. · Issue #229 · bbottema/simple-java-mail
Is there a reason why for synchronous calls no timeouts are configured?
The workaround is to set the timeouts via properties.
MailSender.send(final Email email, final boolean async)
...
if (async)
...
configureSessionWithTimeout(...)
I'm using SimpleJavaMail:5.4.0