On webfaction you can set up an email account and access it directly from within web2py, thus eliminating the transmission to gmail.
On Saturday, January 4, 2014 3:40:11 AM UTC-5, Akash Agrawall wrote: > > Hie folks.. I know this question is already been asked but I didn't get > any help from those answers..... please hava look at this.... > I am unable to send email in server(to be specific webfaction.com) ... > but it's running fine on local host > all these three lines in db.py are set to true. > auth.settings.registration_requires_verification = True > auth.settings.registration_requires_approval = True > auth.settings.reset_password_requires_verification = True > > When I complete the registration form a flash appears on the top-right > corner of the page with a flash message "Unable to send mail" > These are the settings of the mail server in db.py > > mail = auth.settings.mailer > mail.settings.server = 'smtp.gmail.com:587' > mail.settings.sender = 'fakeid...@gmail.com <javascript:>' > mail.settings.tls = False > mail.settings.login ='fakeid425s...@gmail.com:secret' > > > -- 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/groups/opt_out.