This have done the trick! thank you - PA https://www.google.com/accounts/DisplayUnlockCaptcha
On Wednesday, May 17, 2017 at 10:03:51 AM UTC-4, Ron Chatterjee wrote: > > I did all of that. Gmail is set as less secured. Here is the app and > instruction to make it to work locally (local server) and also by importing > to pythonanywhere where it doesn't work. > > #----------------------------------------------------------------------------------------- > > Gmail is made to less secure app. > > in db.py (in attached web2py app) > change line 74 with your own email address and password. > > In default.py > change line 16 with your own email address > > > finally > go to apiconfig.ini file > and change line 14 with your gmail address and password. > > Run the app, go to contact form and send a message. You should be getting > an email (try this locally first) and it works fine. > > Then put this app and import to python anywhere and it breaks. Doesn't > work. Email are not send. > > > Any thoughts? > > > On Wednesday, May 17, 2017 at 12:13:10 AM UTC-4, pbreit wrote: >> >> Is there some reason you are not setting "sender"? >> >> You might need to do this: >> https://support.google.com/accounts/answer/6010255 >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.