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 | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-health-check-email-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 140fb26406402b3ff18d5836bbfac34d7ce37dd6f711373b4dd169d119dcf840 |
|
MD5 | 92f1a16c6478ea864a16b5e57d0a69bf |
|
BLAKE2b-256 | 4258e3823b8eccc0bab3279b2920c3f9d3177c80278e35ca4cd8a35a72eefcd1 |
Close
Hashes for django_health_check_email-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96232bcb7f4664c6a9597370eb944cf1a49f7023d2cc8cea3d4078bd277c34a2 |
|
MD5 | 1e6a0db8f759ec5f2b9d70f5c9a3af49 |
|
BLAKE2b-256 | 1271aff65bed208b3d369745466da291d5785ce6f9022e14af4ab758be22d0a6 |