Skip to main content

A Django app to ensure that emails reach their intended destination

Project description

Emaildeliverability

A Django app that help monitoring systems to ensure that emails reach their intended destination.

Installation

Use the package manager pip to install Emaildeliverability.

pip install django-emaildeliverability

Quick start

  1. Set the following variables in your settings.py (replace the values with your own):
EMAIL_DELIVERABILITY = {
    'USER': 'email@example.com',
    'PASSWORD': 'mysecretpassword',
    'SERVER': 'mail.example.com' # Imap server,
    'TIMEOUT': 45 # Optional. Time, in seconds, during which the app will try to verify that the email has reached its destination
    'INTERVAL': 5 # Optional. Retry interval
}
  1. Add "emaildeliverability" to your INSTALLED_APPS setting like this:
    INSTALLED_APPS = [
        ...,
        "emaildeliverability",
    ]
  1. Include the emaildeliverability URLconf in your project urls.py like this:
    path("emaildeliverability/", include("emaildeliverability.urls")),
  1. Point your prefered monitoring tool to http://localhost:8000/emaildeliverability/check (replace localhost:8000 with your host:port). The request will return the text 'OK' and a status of 200 if the email reached the destination mailbox before TIMEOUT seconds, or 'KO' and a status of 400 otherwise.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_emaildeliverability-0.3.5-py3-none-any.whl (17.5 kB view details)

Uploaded Python 3

File details

Details for the file django_emaildeliverability-0.3.5-py3-none-any.whl.

File metadata

File hashes

Hashes for django_emaildeliverability-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 10591e44c89f6ba6613e2f7101c791f7cf72129d5c76c6d8b59b9f121b5775a6
MD5 ca4f92f2b4a02a9f0b4bc23fed3d1acf
BLAKE2b-256 e2c8d73f5501003d03ac291fc001182515df4b756700ad402dc67d322ffe6f0d

See more details on using hashes here.

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