gluon/tools.py contains this code:
if self.settings.login != None:
...
server.login(*self.settings.login.split(':',1))
I think you must have somewhere a statement like
auth.settings.login = "..."
and the "..." is missing a ":" separating username and password.
On May 11, 5:13 am, Ed Greenberg <[email protected]> wrote:
> When trying to send registration or lost password email, web2py
> flashes that it cannot send email (so registration fails) and logs
>
> [Wed May 11 10:07:31 2011] [error] 2011-05-11 10:07:31,049 - web2py -
> WARNING - Mail.send failure:login() takes exactly 3 arguments (2
> given)
>
> My app's db.py says:
> mail.settings.server = '127.0.0.1:25' # your SMTP server
> mail.settings.sender = '[email protected]' # your email
> mail.settings.login = None # your credentials or None
> mail.settings.tls = False
>
> What might be wrong?