Skip to content

Google App Engine integration #28

Closed
wants to merge 2 commits into from

3 participants

@welsh-dwarf

Hi,

Google App Engine doesn't allow for certain low level functionality essential to sending mail. In order to allow this plugin to work in the GAE sandbox, I've added the necessary functionality to send mail over the GAE Mail API.

I've also added a switch (USE_GAE_MAIL) that allows you to activate or not the Google functionality. Defaults to off to preserve compatibility.

Remarks welcome :)

@mitar
Collaborator
mitar commented Aug 6, 2012

This is not the correct way to do it. You should create a Django e-mail sending backend and configure it in your settings.

https://docs.djangoproject.com/en/dev/topics/email/#email-backends

@mitar mitar closed this Aug 6, 2012
@welsh-dwarf

Thanks for the info.

I suppose that this was a newbie kind of mistake, just trying to get everything to work for deploying my site.

I'll re-work it so that it's done properly (ie the django way) in the next few weeks, and publish as an egg so that no one else falls into that trap :).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.