Skip to content

Timeouts not working for synchronous sendMail calls.  #229

@ghost

Description

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions