Django email backend providing sending with alternative SMTP server if primary server fails
Installation
pip install django-smtp-alternative
Usage
Edit settings.py
EMAIL_BACKEND = "django_smtp_alternative.EmailBackend"
ALTERNATIVE_EMAIL_HOST = 'alternative.host'
ALTERNATIVE_EMAIL_PORT = '25'
Following settings are not required, if some is not defined or set to None, is used default settings acording to primary SMTP configuration.
ALTERNATIVE_EMAIL_HOST_USER = 'username'
ALTERNATIVE_EMAIL_HOST_PASSWORD = 'password'
ALTERNATIVE_EMAIL_USE_TLS = False
License
LGPLv3
Metadata
Release files for django-smtp-alternative 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-smtp-alternative-1.0.0.tar.gz | 1.9 kB | Details |
Release files / django-smtp-alternative-1.0.0.tar.gz
| Download URL | django-smtp-alternative-1.0.0.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f01c032e217262c91fe8620de92340fb22b3863c0fc0134c89f6780160a42d5
|
|
BLAKE2b-256 checksum How to use checksums |
995f28b251d879cfb7b5e08917f80972cbebb7cac64c2505138f68aafdc4d243
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |