Skip to main content

Email Hijacker for Django

Project description


For the latest source, discussions, etc., please visit the GitHub repository

Django Email Hijacker

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.


pip install django-email-hijacker

In your development or staging

EMAIL_BACKEND = "email_hijacker.backends.hijacker.EmailBackend"

HIJACKER_EMAIL_BACKEND = "your.real.EmailBackend"


Django Email Hijacker uses Django Pods.

It allows for prefix style settings:

HIJACKER_EMAIL_BACKEND = "your.real.EmailBackend"

Or dictionary style settings:

    "EMAIL_ADDRESS": "",
    "EMAIL_BACKEND": "your.real.EmailBackend"

Running Tests



All contributions and comments are welcome.

Change Log


  • Fix #2: exclude tests package


  • Switch to Semantic Versioning
  • Fix issue with parse_requirements for newer versions of pip (>=6.0.0)


  • Use Django Pods for settings


  • Unit tests now use Django 1.7 final instead of RC1


  • Initial

Project details

Download files

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

Files for django-email-hijacker, version 0.3.2
Filename, size File type Python version Upload date Hashes
Filename, size django_email_hijacker-0.3.2-py2.py3-none-any.whl (5.6 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size django-email-hijacker-0.3.2.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page