Centralize and relay email from multiple distributed Django projects to an internal SMTP server via a database queue.
Project description
django-email-relay
django-email-relay
enables Django projects without direct access to a preferred SMTP server to use that server for email dispatch.
It consists of two parts:
-
A Django app with a custom email backend that stores emails in a central database queue. This is what you will use on all the distributed Django projects that you would like to give access to the preferred SMTP server.
-
A relay service that reads from this queue to orchestrate email sending. It is available as either a standalone Docker image or a management command to be used within a Django project that does have access to the preferred SMTP server.
Requirements
- Python 3.8, 3.9, 3.10, 3.11, 3.12
- Django 3.2, 4.2, 5.0
Getting Started
Visit the documentation for more information. There you will find:
- Why we created this package and how it can help you.
- How to install and configure the relay service and Django app.
- How to use the Django app to send emails.
- Things to be aware of when it comes time to update the package.
- How you can contribute to the package.
Inspiration
This package is heavily inspired by the django-mailer
package. django-mailer
is licensed under the MIT license, which is also the license used for this package. The required copyright notice is included in the LICENSE
file for this package.
License
django-email-relay
is licensed under the MIT license. See the LICENSE
file for more information.
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
File details
Details for the file django_email_relay-0.4.3.tar.gz
.
File metadata
- Download URL: django_email_relay-0.4.3.tar.gz
- Upload date:
- Size: 33.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d42636218cb3e64d2ac8f1cc4d926b031816ed3c35003be0ba798629709ce17 |
|
MD5 | c6da3290034ef1fa8fda888139836106 |
|
BLAKE2b-256 | 97bdfc2846f2f6147621450a8c8a912515502181a4e006d06a458f97165dba9c |
File details
Details for the file django_email_relay-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: django_email_relay-0.4.3-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5d86dd2f10a9d4bf0110ef0b73b2e07d1ffec6d6fbc7cbe7dc7963f5569e184 |
|
MD5 | 0566118b74d9dd323390dd2bf5a69061 |
|
BLAKE2b-256 | 05c2d14a5a754eb61fd5c645f9aa87d8394f594095c8d9d25a00267098283714 |