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.1
Initial
Metadata
Release files for django-email-hijacker 0.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.1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_email_hijacker-0.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / django-email-hijacker-0.1.tar.gz
| Download URL | django-email-hijacker-0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b916f620658243fe4827685b7c339db7f8992b0ebad42535b3f6ad776f7f37f4
|
|
BLAKE2b-256 checksum How to use checksums |
e292a25ba3f6b70d59672436b50701d740b1061baaae6b3039e7043e6ede7912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_email_hijacker-0.1-py2.py3-none-any.whl
| Download URL | django_email_hijacker-0.1-py2.py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
9f7c466e1d65e19a597c1c01dc748032fb4bdcf124339264a378a4f3c7b629a6
|
|
BLAKE2b-256 checksum How to use checksums |
f36c7d9ee3b9fb1fabe3eb2d89d3584a5a10aeb292ea7527fd7612a6b49d75db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |