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 works fine
running the web2py server, but seems to fail both on the GAE
development server and also deployed.  I might have missed something,
but I have tried to be exhaustive here:

################################################################################
#Test this out:  Doesn't work on GAE in development or on Appspot... =-
(
################################################################################
#
#
from gluon.contrib.login_methods.email_auth import email_auth

#Try with default - same as auth.settings.login_methods =
[email_auth(server="gmail.com:587", domain="@gmail.com")]

auth.settings.login_methods = [email_auth()]
auth.settings.actions_disabled=['register','change_password','request_reset_password',
'profile']


Has anybody used email_auth on gae?  Or does anyone know why it fails,
and any ideas how to start debugging this?

Patrick

Reply via email to