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 = 'per...@yourdomain.com'
        mail.send(to=['recipi...@website.com'],
cc=['someb...@else.com'], 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 "per...@yourdomain.com".

Hope that helps.
Matt






On Apr 17, 9:01 am, Felix <felix1...@gmail.com> 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

Reply via email to