Skip to content
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

Flask-Mail raises timeout where Flask-Emails not #6

Open
kblomqvist opened this issue Feb 17, 2017 · 3 comments
Open

Flask-Mail raises timeout where Flask-Emails not #6

kblomqvist opened this issue Feb 17, 2017 · 3 comments

Comments

@kblomqvist
Copy link

I'm about to switch from Flask-Mail to Flask-Emails. However, when testing my code I'm not getting timeout error from Flask-Emails where Flask-Mail raises it correctly.

The reason why I would like to switch due to the configurable timeout (in elegant manner). See, pallets-eco/flask-mail#114. I also would like to use the flask-emails' API for inline images.

@kblomqvist kblomqvist changed the title Flask-Mail gives timeout where Flask-Emails not Flask-Mail raises timeout where Flask-Emails not Feb 17, 2017
@lavr
Copy link
Owner

lavr commented Feb 17, 2017

Can you show your mail settings?

@kblomqvist
Copy link
Author

kblomqvist commented Mar 6, 2017

The problem (or what cause confusion) seems to be that when EMAIL_USE_TLS = True and the host does not support TLS/STARTTLS the return code and text are None.

@nickjj
Copy link

nickjj commented Nov 4, 2020

...and the host does not support TLS

Do you mean the sender's host or the recipient's host?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants