It's not documented in the manual, but I think you need:
mail.settings.server = 'gae'

Also make sure the sender email is your gmail account, because GAE has
restriction on the from address:
http://code.google.com/appengine/docs/python/mail/emailmessagefields.html



On Oct 6, 5:01 pm, vneve <victorneves...@gmail.com> wrote:
> I can send mails when running on localhost, but could not get this
> working after deploying to gae. I'm using this from the default db.py:
>
> mail.settings.server='smtp.gmail.com:587'    # your SMTP server
> mail.settings.sender = 'em...@gmail.com'         # your email
> mail.settings.logi n= 'email:**'      # your credentials or None
>
> I'm not using email verification, only password retrieval.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" 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