I'm using the following to send mail on GAE.
In your controller.
def do_something():
# send email example
mail=Mail()
mail.settings.server='gae'
mail.settings.sender = '[email protected]'
mail.send(to=['[email protected]'],
cc=['[email protected]'], subject='Hello', message='World')
Works a treat....
Needs google apps for your domain set up of course and either an
account or a nickname for "[email protected]".
Hope that helps.
Matt
On Apr 17, 9:01 am, Felix <[email protected]> wrote:
> I am trying to send a mail from my web2py app hosted on
> GoogleAppEngine. But it is not working. I had read in the GAE
> documentation that python mail library would not work and we have to
> use the GAE mail service. Does it also applies to the web2py mail?
>
> Thanks
>
> --
> Subscription settings:http://groups.google.com/group/web2py/subscribe?hl=en