Flask-Mail not sending emails, no error is being reported
flask
Solution
`Flask-Email` use `smtplib` which can set debug level: https://github.com/mattupstate/flask-mail/blob/master/flask_mail.py#L139. You can set it with `MAIL_DEBUG = True` or `DEBUG = True`. Also check that `MAIL_SUPPRESS_SEND = False` and `TESTING = False`.
With debug I can see in `stdout` mail progress: success, fail, recipients and etc.
See details: http://pythonhosted.org/Flask-Mail/#configuring-flask-mail.
Problem
All, I'm trying to setup flask-mail to send notifications to my email when a user registers. I'm getting no error messages from the script used to send the email, but nothing is actually being sent, or at least, nothing is being received. Is there a log file which can show if an email was sent, rejected, or maybe if there was even a problem logging onto the server? How does on track this problem? Any ideas here?