Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google App Engine integration #28

Closed
wants to merge 2 commits into from

Conversation

welsh-dwarf
Copy link

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
Copy link

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
@maccesch
Copy link
Owner

maccesch commented Aug 7, 2012

Thanks for the effort, though. Maybe this will help: http://andialbrecht.de/blog/2009/11/04/pluggable-app-engine-e-mail-backends-for-django.html

@welsh-dwarf
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants