Skip to main content

An asynchronous Django email backend for Django Q2

Project description

An asynchronous Django email backend for Django 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


Download files

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

Source Distribution

django_q2_email_backend-1.0.0.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_q2_email_backend-1.0.0-py2.py3-none-any.whl (5.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django_q2_email_backend-1.0.0.tar.gz.

File metadata

  • Download URL: django_q2_email_backend-1.0.0.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for django_q2_email_backend-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6fadb90b2f0d93a87f6b435fde20fa8ef59fd6f7ef818f27530c51df2b413f7a
MD5 dbe7c305ad4a1dbaf169875cadb9dd29
BLAKE2b-256 058c42a1a1680c719b15e80c84456a477d82cca68e90194bbcb4831bfc4a01e5

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_q2_email_backend-1.0.0.tar.gz:

Publisher: ci.yml on knyghty/django-q2-email-backend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_q2_email_backend-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_q2_email_backend-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 241cbc5a7530c6a5e696b97fdd6268f3f1462135d2afd1629313398cfa9e343f
MD5 f1b6240cb23e864ece83e19dd37f00c5
BLAKE2b-256 5e30d11a946216b1ae1f234bf17116ed8735b4e43d4909a0dedab180132e2831

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_q2_email_backend-1.0.0-py2.py3-none-any.whl:

Publisher: ci.yml on knyghty/django-q2-email-backend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page