Django Email Hijacker lets you send emails via your favourite email backend but sends them to a specified email address instead of the intended recipients.
It allows you to send emails via a real backend from a development or staging environment without worrying that an actual user might get sent unintended emails.
Installation
pip install django-email-hijacker
In your development or staging settings.py:
EMAIL_BACKEND = "email_hijacker.backends.hijacker.EmailBackend" HIJACKER_EMAIL_ADDRESS = "hijacker@example.org" HIJACKER_EMAIL_BACKEND = "your.real.EmailBackend"
Running Tests
tox
Contributions
All contributions and comments are welcome.
Change Log
v0.3.1
Switch to Semantic Versioning
Fix issue with parse_requirements for newer versions of pip (>=6.0.0)
v0.3
Use Django Pods for settings
v0.2
Unit tests now use Django 1.7 final instead of RC1
v0.1
Initial
Metadata
Release files for django-email-hijacker 0.3.1
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-email-hijacker-0.3.1.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_email_hijacker-0.3.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.9 kB
Release files / django-email-hijacker-0.3.1.tar.gz
| Download URL | django-email-hijacker-0.3.1.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
75a3a28345e6c65fdc44621cf0864c11705a6230242d990e987cb3374ad6abfb
|
|
BLAKE2b-256 checksum How to use checksums |
9844c14a56fbbd34f8b78d06deedac10ebbe01e3e92566b9488e19bafafa9d3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_email_hijacker-0.3.1-py2.py3-none-any.whl
| Download URL | django_email_hijacker-0.3.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
0ee4ae21e1aedf82fda1f202f570046c7ea4fa2bfeaa395f2babdc37583db009
|
|
BLAKE2b-256 checksum How to use checksums |
18085cec2994d31ae2b1e4fbfd2232de8098f7d9ec73a669713b91072fd3365b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |