Overview

Background Emailing in Django

A drop-in email backend to use celery for sending emails, instead of blocking.

pip install django-celery-email

In your settings.py:

  • INSTALLED_APPS must contain background_email
  • EMAIL_BACKEND must be background_email.email_backends.BackgroundEmailBackend

Then, all email that is sent through django's regular email sending procedure will be queued up and sent by your celeryd.

Obviously, you will need to have celery installed, and celeryd running.