I think you are mssing

auth.settings.mailer=mail

On Jun 9, 2:43 am, annet <annet.verm...@gmail.com> wrote:
> In version 1.61.4 these settings sufficed to retrieve the username and
> password:
>
> ## mailer
> mail=Mail()
>
> ## specify your SMPT server
> mail.settings.server='smtp.gmail.com:587'
>
> ## specify your email address
> mail.settings.sender='....@gmail.com'
>
> ## optional: specify your user name and password for SMTP
> mail.settings.login='....@gmail.com:...'
>
> In 1.63.5 this in case of retrieve _username results in an error
> ticket:
>
> Traceback (most recent call last):
>   File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/
> restricted.py", line 107, in restricted
>     exec ccode in environment
>   File "/Library/Python/2.5/site-packages/web2py_1_63_5/applications/
> cms/controllers/authentication.py", line 39, in <module>
>   File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/
> globals.py", line 97, in <lambda>
>     self._caller = lambda f: f()
>   File "/Library/Python/2.5/site-packages/web2py_1_63_5/applications/
> cms/controllers/authentication.py", line 15, in retrieve_username
>     return dict(form=auth.retrieve_username())
>   File "/Library/Python/2.5/site-packages/web2py_1_63_5/gluon/
> tools.py", line 898, in retrieve_username
>     response.flash = self.messages.function_disabled
> NameError: global name 'response' is not defined
>
> ... and in case of retrieve_password in a flash: function disabled.
>
> What change in 1.63.5 causes these settings to no longer work.
>
> Kind regards,
>
> Annet
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to