-
-
Notifications
You must be signed in to change notification settings - Fork 274
Timeout for email #84
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
Comments
Hi @datmt, it's up to your application design if you implement delays or not. This libraries just sends sends emails for you (it doesn't have retry functionality either). There are just two modes of sending:
It's up to you to design your application around these two options. |
@datmt can you please confirm that it was your app that kept retrying and not .send() that kept blocking indefinitely? |
Hello @bbottema , Thanks for taking time to answer. I still don't know. I just create a new thread and send the mail. I noticed that error related to emails format are reported. I will test further and let you know. Have a great day! |
Also see #85 |
Thanks! I think it's best to set timeout on the thread in my case |
Hello,
Thanks for the great library.
I'm developing a mail sending application. In normal condition, the app sends mails just fine. However, if there are problems with the emails (wrong format, not exists), the app did not stop but keep trying to send the mail.
I wonder if there is a setting to set the maximum time to wait on one email so it can skip the one that takes too long to send.
Thanks
The text was updated successfully, but these errors were encountered: