Skip to main content

Provides Django email integration for RQ (Redis Queue)

Project description

Build Status Coverage Status Requirements Status Latest Package Version Download Status

Requirements

Installation

  • Install django-rq-email-backend:
pip install django-rq-email-backend
  • Add django_rq to INSTALLED_APPS in settings.py:
INSTALLED_APPS = (
    # other apps
    'django_rq_email_backend',
)

You must then set django_rq_email_backend as your EMAIL_BACKEND:

EMAIL_BACKEND = 'django_rq_email_backend.backends.RQEmailBackend'

By default django-rq-email-backend will use Django’s builtin SMTP email backend for the actual sending of the mail. If you’d like to use another backend, you may set it in RQ_EMAIL_BACKEND just like you would normally have set EMAIL_BACKEND before you were using Celery. In fact, the normal installation procedure will most likely be to get your email working using only Django, then change EMAIL_BACKEND to RQ_EMAIL_BACKEND, and then add the new EMAIL_BACKEND setting from above.

Inspiration

django-rq-email-backend was heavilty influenced by:

Changelog

0.1.3

  • Fixed exception handler to bubble up error if send_email fails.

0.1.2

  • Fixed broken installation.

0.1.1

  • Renamed project to avoid potential confusion with django-rq-mail.

0.1.0

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-rq-email-backend, version 0.1.3
Filename, size & hash File type Python version Upload date
django_rq_email_backend-0.1.3-py2.py3-none-any.whl (5.7 kB) View hashes Wheel 2.7
django-rq-email-backend-0.1.3.tar.gz (4.8 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page