Skip to main content

Django Email Hijacker

https://pypip.in/version/django-email-hijacker/badge.svg https://pypip.in/format/django-email-hijacker/badge.svg https://travis-ci.org/OohlaLabs/django-email-hijacker.svg?branch=master https://coveralls.io/repos/OohlaLabs/django-email-hijacker/badge.png?branch=master https://pypip.in/py_versions/django-email-hijacker/badge.svg https://pypip.in/license/django-email-hijacker/badge.svg

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.2

  • Unit tests now use Django 1.7 final instead of RC1

v0.1

  • Initial

Metadata

Release files for django-email-hijacker 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-email-hijacker 0.2
File Size Uploaded
django-email-hijacker-0.2.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-email-hijacker 0.2
File Interpreter ABI Platform
django_email_hijacker-0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 9.4 kB

Release files / django-email-hijacker-0.2.tar.gz

Download URL django-email-hijacker-0.2.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c599cd50155ebf56e0585eac5a439c2a2c1312f1e0f59c7782d6ad905fc308cc
BLAKE2b-256 checksum
How to use checksums
148f936d88bbf5a5a7630aab42aa5ca7126289b223591e5ffe4f912cd6948589
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_email_hijacker-0.2-py2.py3-none-any.whl

Download URL django_email_hijacker-0.2-py2.py3-none-any.whl
Size 5.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e8c4d37595fe182715c1a7b1d43d4844b92c80f7ddb434ff25b70fb1dcfba4db
BLAKE2b-256 checksum
How to use checksums
78380c9956f0d9b6d16cf70cc87065dbebce387616f028aeb26130a995643d27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.3.2

2 release files

0.3.1

2 release files

0.3

2 release files

This release

0.2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page