Closed evigeant closed 5 years ago
Thanks for this PR.
Have you consided to implement a setInvalidateConnectionOnException
with a try/catch that would take care of flagging the connection in DefaultClosableSmtpConnection#doSend
?
That is a great idea, I forced push the branch to discard the previous functionality and commit the new functionality
This PR adds the possibility to invalidate ClosableSmtpConnection instead of returning them in the pool.
My use case is: