Now it's giving this error after removing line mail.settings.tls = False

WARNING:web2py:Mail.send failure:(534, '5.7.14 
<https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbtMf\n5.7.14 
yjR9eyPl8zjJCYkZZ4U0vKUdwfRlMVYAq1Ae5LpVRVOlNygjzl20GZA0bo6aSlHc4hpN6E\n5.7.14 
LPqhR1-reLXwqByxITlg6K_OQwdxLQ_iSbwvcqp7VuNTzUAmu59BLKwnYgt1fk8nQTud-V\n5.7.14 
MPEG5KEqRwqPm7piuQ1NnHrXW7LJNA4bAsgSbC5giyFauUVDuqrBsfmM3GDulUKr1SArvA\n5.7.14 
NynKI_fJLIi9oFoARvPbGXrZ0h78> Please log in via your web browser 
and\n5.7.14 then try again.\n5.7.14  Learn more at\n5.7.14 
 https://support.google.com/mail/answer/78754 mv4sm13580749pdb.51 - gsmtp')
WARNING:web2py:Mail.send failure:(534, '5.7.14 
<https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbvK1\n5.7.14 
_5WDk7xz6wHyGhtHtEEfYYilaHoMyzE0sPcKMdH6sql0De0HJi6QOVwVBdyV1uVHkuXKq9\n5.7.14 
YIfLK40SvqQ7cqG9uAkWTlecFAY6ywrjehnQAkHjJeihN0f8ejLxKic1LiVZiTNO91yOdY\n5.7.14 
CpFl4HiEFNThlXiHdN0w_ufNM1pRehnR5wYYX-NZUcc06cAp4JNj9W8ykH-n2SzacCsFGv\n5.7.14 
OuqMDVwhplfXeMhTBt6BxNhV_Rwc> Please log in via your web browser 
and\n5.7.14 then try again.\n5.7.14  Learn more at\n5.7.14 
 https://support.google.com/mail/answer/78754 fa1sm17374364pbb.35 - gsmtp')
WARNING:web2py:Mail.send failure:(534, '5.7.14 
<https://accounts.google.com/ContinueSignIn?sarp=1&scc=1&plt=AKgnsbukP\n5.7.14 
e1dwFga1Ymr7_Xs9s2LOkzxtPSkibqER4Vrrx7jVetQOf3uVn6XwSsXNLRURO97BI6hpc8\n5.7.14 
pJwK5sZddAacrwRCWuPzc93o_yGePANW2oQAwRsH67T3Yl9ceWrAvYFpHSicQ7NTXCA8wh\n5.7.14 
E8ME7BVB8YJ8zh5_vPCdk4zlSx7G-WgB1TQrsyQY5cTFo5UOtNIdMt2Lo_QbqfEZK-t029\n5.7.14 
pDvIetHcOsZ07zOYlZe7fKEQhwhY> Please log in via your web browser 
and\n5.7.14 then try again.\n5.7.14  Learn more at\n5.7.14 
 https://support.google.com/mail/answer/78754 os7sm17376666pbb.23 - gsmtp')

Please help me to solve the problem it's urgent, I have completed the 
project the delay is due to this.

On Monday, August 17, 2015 at 2:12:02 AM UTC+5:30, Massimo Di Pierro wrote:
>
> Does it log anything to the console? The usual problem is that Google no 
> longer accepts SMTP requests from arbitrary servers and requires an 
> additional verification step. Usually the error message you get contains 
> the link with the google instructions.
>
> On Sunday, 16 August 2015 10:24:42 UTC-5, Sai Harsh Tondomker wrote:
>>
>> mail = auth.settings.mailer
>> mail.settings.server = 'smtp.gmail.com:587'
>> mail.settings.sender = '****[email protected] <javascript:>'
>> mail.settings.login = '****[email protected]:*******'
>>
>> ## 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 mail 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to