These are my settings.

Are you using standard form for registration or custom form?

## configure email
mail = auth.settings.mailer
mail.settings.server = 'mx.fdff.si:25'
mail.settings.sender = ''xxxx
mail.settings.login = 'ixxxxx'
mail.settings.tls = False
auth.messages.verify_email = T('Click on the link ') + ' my_url' +     
URL(r=request,c='default',f='user',args=['verify_email']) +  '/%(key)s '+ 
T('to verify your email')
auth.messages.reset_password = T('Click on the link ') + 'my_ur' +     
 URL(r=request,c='default',f='user',args=['reset_password']) + '/%(key)s 
'+T('to reset your password')

## configure auth policy
auth.settings.registration_requires_verification = True
auth.settings.registration_requires_approval = False
auth.settings.reset_password_requires_verification = True

On Wednesday, December 10, 2014 9:34:56 PM UTC+1, Richard D wrote:
>
> Hi,
>
> In my app standard email can be send using     mail.send(to=['ric.... 
> The registration email is not sent however.
>
> db.py:
> ## configure email
> mail = auth.settings.mailer
> mail.settings.server = 'logging' if request.is_local else '
> mail.mampl.com:26'
> mail.settings.sender = 'u...@mampl.com <javascript:>'
> mail.settings.login = 'u...@mampl.com <javascript:>:<<pw>>'
>
> ## configure auth policy
> auth.settings.registration_requires_verification = True
> auth.settings.registration_requires_approval = False
> auth.settings.reset_password_requires_verification = True
>
> auth.messages.verify_email = 'Click here'
>
> I have no further controller functions.
>
> What can be wrong? Thank you for your feedback.
>
> Richard D
>

-- 
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.

Reply via email to