I'm using "@auth.requires_login()" to have a user register himself. I've 
modified the code in db.py to:

mail=auth.settings.mailer
mail.settings.server = 'smtp.gmail.com:587'
mail.settings.sender = 'drsommers4stressrel...@gmail.com'
mail.settings.login = 'drsommers4stressrelief:password'

I got this code fragment from another web2py app someone gave me. However, 
in my test application, the user never receives the verification email.

This is baffling. The same email credentials work in one app but not the 
other. Methinks there is something I've overlooked in my app.

Any ideas?

Thanks.

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

Reply via email to