i am trying to create a form in web2py which sends message to an email account on submission mainly i used SQLFORM.factory to create the form then i used gluon.tools import mai
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:
NeoToren