Skip to main content

Send all mail to a desired address during development

Project description

Django Development Email

This was developed as an alternative to having small if checks to send all mail to a development
address. We initially wanted to just override the ``_send`` method, but since it's marked as private,
we decided to copy the class and rewrite the parts I needed. We are certainly open to other ways
and methods of implementing this.


pip install django-dev-email

Add the class to your ``EMAIL_BACKEND`` setting

EMAIL_BACKEND = 'dev_email.backends.development.EmailBackend'

Add the email address to your settings file


Suggestions, Bugs, Comments? Open a Github issue.

What's Next?

Project details

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_dev_email-1.0.2-py2.py3-none-any.whl (5.0 kB) Copy SHA256 hash SHA256 Wheel 2.7
django-dev-email-1.0.2.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None

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 SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page