Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

Django email backend providing sending with alternative SMTP server if primary server fails

Project description

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

Project details


Release history Release notifications

This version
History Node

1.0.0

History Node

0.0.1a

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-smtp-alternative-1.0.0.tar.gz (1.9 kB) Copy SHA256 hash SHA256 Source None Sep 30, 2014

Supported by

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