What steps will reproduce the problem? 1. Set "auth.settings.registration_requires_verification = True" (without double quotes) in myapp/models/db.py
Adjust mail.settings.server and sender lines
Set mail.settings.login with a password with a colon character. Example: 'myaddress@gmail.com:pass:word'
Try to register a new user in http://localhost:8000/myapp/default/user/register What is the expected output? What do you see instead? Flash will show 'Unable to send email' What version of the product are you using? On what operating system? v1.87.3.
Ubuntu Please provide any additional information below. I traced back and found line 575 in /web2py/gluon/tools.py
I changed it from:
server.login(_self.settings.login.split(':'))
To:
server.login(_self.settings.login.split(':',1))
From vinicius...@gmail.com on October 25, 2010 12:12:49
What steps will reproduce the problem? 1. Set "auth.settings.registration_requires_verification = True" (without double quotes) in myapp/models/db.py
And it worked fine.
Original issue: http://code.google.com/p/web2py/issues/detail?id=118