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/jthi3rry/django-email-hijacker.svg?branch=master https://coveralls.io/repos/jthi3rry/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.3.2

  • Fix #2: exclude tests package

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

Download files

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

Source Distribution

django-email-hijacker-0.3.2.tar.gz (4.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_email_hijacker-0.3.2-py2.py3-none-any.whl (5.6 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-email-hijacker-0.3.2.tar.gz.

File metadata

File hashes

Hashes for django-email-hijacker-0.3.2.tar.gz
Algorithm Hash digest
SHA256 f42c00ce0965cfd01302eb1892b897c8d502217b1805ce54e21f226652fae04d
MD5 89c0108a9de75078e300e5b9c7f9dcbe
BLAKE2b-256 e225ec6bca691a011d6a665ede8d7defdf4b4fd77f2ad2c3c2b98c6e61712f3c

See more details on using hashes here.

File details

Details for the file django_email_hijacker-0.3.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_email_hijacker-0.3.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9c21c519023eeee9fe2c8001563748d0c61616e9fcc17f31bfd14a6a21333d61
MD5 e31eb57de913df837932e69f452b00a2
BLAKE2b-256 7b6da48d265d8126c2168fb30f4a1ff6113063cdebaa4e36b3efe299e8d8c2bf

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.2 This release

2 files

0.3.1

2 files

0.3

2 files

0.2

2 files

0.1

2 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