I tried it still saying unable to send mail

mail = auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = '[email protected]'
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 <[email protected]>
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*
>                  [email protected]
>                             Brasil
>
>
> 2015-08-16 12:26 GMT-03:00 Sai Harsh Tondomker <[email protected]>:
>
>> mail = auth.settings.mailer
>> mail.settings.server = 'smtp.gmail.com:587'
>> mail.settings.sender = '[email protected]'
>> mail.settings.login = '[email protected]: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 [email protected].
>> 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
> [email protected].
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to