We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7040e4 commit bcfe194Copy full SHA for bcfe194
src/main/java/org/simplejavamail/mailer/internal/mailsender/MailSender.java
@@ -200,7 +200,11 @@ the proxy bridge server (or connection pool in async mode) while a non-async ema
200
executor.execute(new NamedRunnable("sendMail process") {
201
@Override
202
public void run() {
203
- sendMailClosure(session, email);
+ try {
204
+ sendMailClosure(session, email);
205
+ } catch (Exception e) {
206
+ LOGGER.error("Failed to send email", e);
207
+ }
208
}
209
});
210
} else {
0 commit comments