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
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
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.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_email_hijacker-0.3-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details |
Total release size: 10.6 kB
Release files / django-email-hijacker-0.3.tar.gz
| Download URL | django-email-hijacker-0.3.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3944939af0ae153eb61c51e6f374ca6e07015079f8eecfdd1e3d87ee2f633a39
|
|
BLAKE2b-256 checksum How to use checksums |
95175f76a2e0ee7e200e0fac52b889f6c87c6c3bf18c71661a8ab025c64695c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_email_hijacker-0.3-py2.py3-none-any.whl
| Download URL | django_email_hijacker-0.3-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
49578af108a6f07997852be9349030099dc38d07f6df59818d4ae4cd434c3709
|
|
BLAKE2b-256 checksum How to use checksums |
6ba2ef5d37ea3cb3de20cac4e49fe2580c7cc4a58952841fdce70c243df4a6d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |