Skip to main content

Add email check to django-health-check.

Project description

django-health-check-email

This is a plugin for django-health-check, which check that your app can send emails through the email backend configured in your Django settings.

Installation

Install with pip in your environment:

pip install django-health-check django-health-check-email

Add the app to your INSTALLED_APPS:

INSTALLED_APPS = [
    # ...
    'health_check',                             # required
    # ...
    'health_check_email',
]

Apply migrations:

python manage.py migrate

Configuration

Add your settings to HEALTH_CHECK:

HEALTH_CHECK = {
    "EMAIL_ENABLED": True,
    "EMAIL_IS_CRITICAL": True,
    "EMAIL_SUBJECT": "my email health check",
    "EMAIL_MESSAGE": "my message",
    "EMAIL_FROM": "test@example.com",
    "EMAIL_TO": ["admin@example.com", "dev@example.com"],
}

Project details


Release history Release notifications

Download files

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

Files for django-health-check-email, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size django_health_check_email-0.1.0-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-health-check-email-0.1.0.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page