An asynchronous Django email backend for Django Q2
Project description
An asynchronous Django email backend for Dgjango Q2
Requirements
Installation
Install django-q2-email-backend:
pip install django-q2-email-backend
Add django_q2_email_backend to INSTALLED_APPS in settings.py:
INSTALLED_APPS = (
# other apps
"django_q2_email_backend",
)
You must then set django-q2-email-backend as your EMAIL_BACKEND:
EMAIL_BACKEND = "django_q2_email_backend.backends.Q2EmailBackend"
By default django-q2-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 Q2_EMAIL_BACKEND just like you would normally have set EMAIL_BACKEND before you were using Q2. In fact, the normal installation procedure will most likely be to get your email working using only Django, then change EMAIL_BACKEND to Q2_EMAIL_BACKEND, and then add the new EMAIL_BACKEND setting from above.
Credits
Some code around serializing emails was taken from joeyespo/django-q-email
This package was created with Cookiecutter and the knyghty/cookiecutter-django-package project template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_q2_email_backend-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d715fd2eeff1cb00024a5dff038baaa85940017d7b2f8c6396dcb86680c3240 |
|
MD5 | 8146344bb94c15e6dca6e1f3468ce399 |
|
BLAKE2b-256 | 41003b6d3797bc58e0a8d0c0aca6a8b9d26ae0d63aae3b1acbce5541c4046aa2 |
Hashes for django_q2_email_backend-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40b55a66664da8617cf51b8021497f4e2401fc7b45fbe807abcf02547cdcbe50 |
|
MD5 | e32439d29be88f1aa418647cc4976c88 |
|
BLAKE2b-256 | 576ebcf6552fbbf8c44ad68edb5de8e8779a9ee95c55efb4c5847a37750ae898 |