Hello, I'm trying to get flask-mail running and i've modified the Snippet to have my correct google credentials and just can't get it to work. I've also tried a third party SMTP (smtpgogo.com) and no luck there either. http://flask.pocoo.org/snippets/85/ I made the necessary update on the import to flask_mail from flaskext.mail as well. I tried SSL/TLS On, Off, Both On, Both Off, etc etc. On one or two instances I got a notification from google to sign in for security but once I "allowed" this sign in it didn't bother me anymore. The problem is, mail just never shows up. I get no errors and my return "Mail Sent! is displayed properly. Does anyone have a working, tested, snippet for the current version of Flask_Mail with google mail as a SMTP provider that I can try out to see if there is something else at hand? For hosting I'm using PythonAnywhere.com
On Fri Oct 12 19:42:57 2012, James Anderson wrote: > Hello, > I'm trying to get flask-mail running and i've modified the Snippet to > have my correct google credentials and just can't get it to work. I've > also tried a third party SMTP (smtpgogo.com <http://smtpgogo.com>) and > no luck there either. > http://flask.pocoo.org/snippets/85/ > I made the necessary update on the import to flask_mail > from flaskext.mail as well. > I tried SSL/TLS On, Off, Both On, Both Off, etc etc. On one or two > instances I got a notification from google to sign in for security but > once I "allowed" this sign in it didn't bother me anymore. The problem > is, mail just never shows up. I get no errors and my return "Mail > Sent! is displayed properly. > Does anyone have a working, tested, snippet for the current version of > Flask_Mail with google mail as a SMTP provider that I can try out to > see if there is something else at hand? For hosting I'm using > PythonAnywhere.com Did you already try setting MAIL_FAIL_SILENTLY=False? The default of True is kind of unfortunate as it can make the initial set up a little annoying.
I haven't, I'll give that a shot! It wasn't in the original documentation I started with so I completely glossed over it when I found the latest docs. I'll report back! On Oct 12, 2012 5:15 PM, "Erik Simmler" <erik.groups@simmlers.com> wrote: > On Fri Oct 12 19:42:57 2012, James Anderson wrote: > > Hello, > > I'm trying to get flask-mail running and i've modified the Snippet to > > have my correct google credentials and just can't get it to work. I've > > also tried a third party SMTP (smtpgogo.com <http://smtpgogo.com>) and > > no luck there either. > > http://flask.pocoo.org/snippets/85/ > > I made the necessary update on the import to flask_mail > > from flaskext.mail as well. > > I tried SSL/TLS On, Off, Both On, Both Off, etc etc. On one or two > > instances I got a notification from google to sign in for security but > > once I "allowed" this sign in it didn't bother me anymore. The problem > > is, mail just never shows up. I get no errors and my return "Mail > > Sent! is displayed properly. > > Does anyone have a working, tested, snippet for the current version of > > Flask_Mail with google mail as a SMTP provider that I can try out to > > see if there is something else at hand? For hosting I'm using > > PythonAnywhere.com > > Did you already try setting MAIL_FAIL_SILENTLY=False? The default of > True is kind of unfortunate as it can make the initial set up a little > annoying. >