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-2.1.0.tar.gz (4.9 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-2.1.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for django_q2_email_backend-2.1.0.tar.gz
Algorithm Hash digest
SHA256 8afc4eed18a99e595eb5bae72c8811d3ee14a1d29795004ed8791ee5eaf1a7fe
MD5 585d7298076c760eb6d5ff46dc5496ca
BLAKE2b-256 a2ffbf04170440b79d728d6dfe5d4c8a031e0806b574d089cfdd56ff9a2ae800

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_q2_email_backend-2.1.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-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_q2_email_backend-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3b5bc6a4fb4f1983aee3378323556caaccaf073181f4a397901822ba34c54a79
MD5 664bec077ffe5e15da52545f0f490a8b
BLAKE2b-256 fad30e45e0a2d933c9b2304df7c5c844ccdeb9a66eec7b194d517a4b3b784780

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_q2_email_backend-2.1.0-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