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
I got the email to work with gmail with the modification of this setting:
mail.settings.server = 'smtp.gmail.com'