-
-
Notifications
You must be signed in to change notification settings - Fork 271
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MailException is not thrown for sending failures, only (apparently) data issues #160
Comments
That depends on how you call
If you are in a hurry, what I can do for you is update the 6.0.0.beta-SNAPSHOT with the latest changes including #148. Otherwise, if you wish to asynchronously send emails, you will need to manage your own thread pool and use the async=false instead. Let me know your decision! |
Hi Benny, |
Alright, no worries! Let me know if you run into trouble again... |
Hi,
Nice library. It really simplifies my client code and even makes image embedding a no-brainer.
My problem is that if the SMTP server is down or unreachable, the
mailer.sendMail(email, async)
method doesn't throw an exception. Instead, it just logs the error and lets me move on.It's pretty embarrassing if a user is told that an email is coming but it never does. So, what I need to do is fall back to two other SMTP servers which are likely to work in case the first one fails.
Is there a setting or workaround I'm missing somewhere?
The text was updated successfully, but these errors were encountered: