Maybe too late, but I just found Google has added many security improvements. In my case the emails stop working. To fix it I have done:
1- Enable less secure apps: https://www.google.com/settings/security/lesssecureapps 2- Unlock Captcha for the account: https://accounts.google.com/DisplayUnlockCaptcha I hope it helps... On Sunday, 16 August 2015 20:03:47 UTC+2, Sai Harsh Tondomker wrote: > > I tried it still saying unable to send mail > > mail = auth.settings.mailer > mail.settings.server = 'smtp.gmail.com:587' > mail.settings.sender = 'crazydev...@gmail.com <javascript:>' > mail.settings.login = None > mail.settings.tls = False > ## configure auth policy > auth.settings.registration_requires_verification = True > auth.settings.registration_requires_approval = False > auth.settings.reset_password_requires_verification = True > > Even I have uploaded all require files. > > Please could you suggest any other solution. > > > On Sun, Aug 16, 2015 at 10:45 PM, Ovidio Marinho <ovid...@gmail.com > <javascript:>> wrote: > >> look this: >> http://www.web2pyslices.com/slice/show/1473/sending-email-from-a-form-with-multiple-documents-options >> >> >> >> >> >> >> [image: http://itjp.net.br] <http://itjp.net.br> >> http://itjp.net.b <http://itjp.net.br>r >> *Ovidio Marinho Falcao Neto* >> ovid...@gmail.com <javascript:> >> Brasil >> >> >> 2015-08-16 12:26 GMT-03:00 Sai Harsh Tondomker <saihar...@iiits.in >> <javascript:>>: >> >>> mail = auth.settings.mailer >>> mail.settings.server = 'smtp.gmail.com:587' >>> mail.settings.sender = 'crazydev...@gmail.com <javascript:>' >>> mail.settings.login = 'crazydevelope...@gmail.com:saiharshvipin' >>> >>> ## configure auth policy >>> auth.settings.registration_requires_verification = True >>> auth.settings.registration_requires_approval = False >>> auth.settings.reset_password_requires_verification = True >>> >>> I am unable to send email verification using gmail account please help >>> me to solve the problem. >>> >>> -- >>> 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+un...@googlegroups.com <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> 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 a topic in the >> Google Groups "web2py-users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/web2py/iBvGhDc4t5I/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> web2py+un...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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.