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.

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?
------------

Project details


Download files

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

Source Distribution

django-dev-email-1.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

django_dev_email-1.0.1-py2.py3-none-any.whl (5.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-dev-email-1.0.1.tar.gz.

File metadata

File hashes

Hashes for django-dev-email-1.0.1.tar.gz
Algorithm Hash digest
SHA256 431de8fd7d621e29af1334ccc59c880d0d18e98ebced18c79250fa6de1fee622
MD5 e55ee24153ed3d7278658f9c7e290cec
BLAKE2b-256 832369da07c383ce55df738975c198101360ffc1efb022a18f21234b0c269f0a

See more details on using hashes here.

Provenance

File details

Details for the file django_dev_email-1.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_dev_email-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a5bd4ec9e239836a1ce48e2a98aaf0c6c2728b3da958b66a8649b438974478fb
MD5 9df8a48c475d012845da69dc94688847
BLAKE2b-256 9f29371cd905bd862620a72c59536c02f10fde05246135bdfae68be53e6a7186

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page