[web2py] Re: email_auth works on web2py server, but not GAE - ANSWER: No sockets in the sandbox, no smtp connections! That's all. No email_auth on GAE

2012-01-26 Thread Alan Etkin
Some built-in web2py functions have conditional commands for addressing AppEngine compatibility issues, it seems that this is not performed for the email authentication. Perhaps this problem could added to the web2py issues list? On 26 ene, 02:43, pattu itapplicationmanagem...@gmail.com wrote: I

[web2py] Re: email_auth works on web2py server, but not GAE - ANSWER: No sockets in the sandbox, no smtp connections! That's all. No email_auth on GAE

2012-01-25 Thread pattu
I didn't get much success in getting logging to work with the GAE - there is a slice for it, but it all is pretty complicated. BUT... I tried the following code in the interactive console on the dev engine: import smtplib host = 'gmail.com' port = 587 server = smtplib.SMTP(host, port)

[web2py] Re: email_auth works on web2py server, but not GAE

2012-01-24 Thread Alan Etkin
You could try printing this command's output to the console in development: ... server.login(email, password) ... It is in line 29 of web2py source installation/gluon/contrib/ login_methods/email_auth.py gluon/contrib/login_methods/email_auth.py On 23 ene, 13:48, pattu

[web2py] Re: email_auth works on web2py server, but not GAE

2012-01-23 Thread Massimo Di Pierro
Did you try it? How does it fail? On Jan 23, 4:07 am, pattu itapplicationmanagem...@gmail.com wrote: Hi - I have found 150 answers to different questions already by googling my way through this list, but I didn't find anything addressing email_auth (using an smtp server).  Here is code that

[web2py] Re: email_auth works on web2py server, but not GAE

2012-01-23 Thread pattu
Hi - Fairly silently. In the case of running the dev_appserver.py - submitting a correct email and password to login form just shows a very quick response of invalid login (flash message). Compared to running the web2py built in web server the response is too fast to let me believe that my