Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Use this email backend to send all mail to a desired address during development.
Python
branch: master
Failed to load latest commit information.
dev_email Rearrangement, and adding to pypi.
.gitignore Rearrangement, and adding to pypi.
AUTHORS legal.
LICENSE Update terms.
MANIFEST.in Add manifest.
README.md Update terms.
setup.cfg Add wheel setup.cfg
setup.py Add manifest.

README.md

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.

Installation

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

DEV_EMAIL = 'yourdevaddress@whatever.com'

Suggestions, Bugs, Comments? Open a Github issue.

What's Next?

Something went wrong with that request. Please try again.