Skip to main content

Centralize and relay email from multiple distributed Django projects to an internal SMTP server via a database queue.

Project description

django-email-relay

PyPI PyPI - Python Version Django Version

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:

  1. 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.

  2. 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


Download files

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

Source Distribution

django_email_relay-0.5.0.tar.gz (33.4 kB view details)

Uploaded Source

Built Distribution

django_email_relay-0.5.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file django_email_relay-0.5.0.tar.gz.

File metadata

  • Download URL: django_email_relay-0.5.0.tar.gz
  • Upload date:
  • Size: 33.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for django_email_relay-0.5.0.tar.gz
Algorithm Hash digest
SHA256 600aaf09a9e79144bf31903cc02186d8a3f532cb4decc5c4da109533d2d38026
MD5 267794a96ad27a3ee160e31a38fe7ad4
BLAKE2b-256 9dd8d287e1e102b5304b81f01c693f81efa40c10924f466271e4e6d774a5bd7d

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_email_relay-0.5.0.tar.gz:

Publisher: release.yml on westerveltco/django-email-relay

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_email_relay-0.5.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_email_relay-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b846b5c7b252835f3cc325988ce3b17b946a61dd2aa465b6e4afa788de83e91b
MD5 7b94ab4a3a264e9cd24a16df36d2d364
BLAKE2b-256 b8fdf9b2799ebbfebff428bdcf1ed23e80d862bafe9eb7b8bacb0560c29c0955

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_email_relay-0.5.0-py3-none-any.whl:

Publisher: release.yml on westerveltco/django-email-relay

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 Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page