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 File type Python version Upload date Hashes
Filename, size django_rq_email_backend-0.1.3-py2.py3-none-any.whl (5.7 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size django-rq-email-backend-0.1.3.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page