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.

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.

License

django-email-relay is licensed under the MIT license. See the LICENSE file for more information.

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.

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.1.1.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

django_email_relay-0.1.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_email_relay-0.1.1.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for django_email_relay-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dba0f593a6102c932b9363627d4eacfcbf8615c42d108e11d13a2edb4524637d
MD5 ef7fb2b3b196a282c92c571de43e81b3
BLAKE2b-256 b3d6d5a0c9fb881d8ac3b7a4129c4f124924ff6c3b2b59db0a2c388ce98bc8b3

See more details on using hashes here.

File details

Details for the file django_email_relay-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_email_relay-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35b7e2f65ed6a2ef3f0ff3e39c1d56de712b698eeb6950c7dd5565d08ed1da33
MD5 5f5cd29240ffb29913abc94b0bd011c0
BLAKE2b-256 519d15f3f5506180209ba150df4b1d1d1bf6519c21b890ba12dd5e852f870350

See more details on using hashes here.

Supported by

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