That's true ! All the issues I have experienced with sending email (*"unable to send email"*) from Web2Py via Gmail, have been caused by the 2-steps authentication which was enabled on my gmail account.
In order for Web2Py to be able to send email via gmail: 1. Read Google instructions at https://support.google.com/mail/answer/1173270?hl=en 2. When logged in with your gmail account, go to https://security.google.com/settings/security/apppasswords?pli=1 and enter the once-only pwd Google provides with the app you intend to allow use the gmail services (I have mentioned "Web2Py") 3. In the model where the mail services are defined - use exactly what's recommended in the W2P book with the new pwd mentioned above - and it works ! Thanks for mentioning it Michael NeoToren On Saturday, April 26, 2014 at 6:45:30 AM UTC-4, Michael Beller wrote: > > If you have two step authentication enabled in your gmail account you need > to use an application specific password ... > > https://support.google.com/mail/answer/1173270?hl=en > -- 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.