Skip to main content

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.9, 3.10, 3.11, 3.12, 3.13
  • Django 4.2, 5.1, 5.2

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.

Release files for django-email-relay 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-email-relay 0.6.0
File Size Uploaded
django_email_relay-0.6.0.tar.gz 141.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-email-relay 0.6.0
File Interpreter ABI Platform
django_email_relay-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 157.3 kB

Release files / django_email_relay-0.6.0.tar.gz

Download URL django_email_relay-0.6.0.tar.gz
Size 141.6 kB
Tags Source
SHA-256 checksum
How to use checksums
552d0b28c824b41d203f3e3046e5d72d122e990ca4f366ce2a661ced812a7605
BLAKE2b-256 checksum
How to use checksums
4312c283e61e0545805c1eadc11a4ba462eb7b496a0982c44d3cda4a44c4a126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.14

Release files / django_email_relay-0.6.0-py3-none-any.whl

Download URL django_email_relay-0.6.0-py3-none-any.whl
Size 15.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46a0cf3323e58900b17c4ee574fad0606ea1a055c0b129f6e06a4326fbca7804
BLAKE2b-256 checksum
How to use checksums
54f3384dbd808393d977008eabc6a5aaae7ea0f6bbcbf8066a78214f078f00f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.6.14

Release history Release notifications | RSS feed

This release

0.6.0 This release

2 release files

0.5.0

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page