This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Email Hijacker for Django

Project Description

Note

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.

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"

Note

Django Email Hijacker uses Django Pods.

It allows for prefix style settings:

HIJACKER_EMAIL_ADDRESS = "hijacker@example.org"
HIJACKER_EMAIL_BACKEND = "your.real.EmailBackend"

Or dictionary style settings:

HIJACKER = {
    "EMAIL_ADDRESS": "hijacker@example.org",
    "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
Release History

Release History

This version
History Node

0.3.2

History Node

0.3.1

History Node

0.3

History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django_email_hijacker-0.3.2-py2.py3-none-any.whl (5.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Mar 6, 2015
django-email-hijacker-0.3.2.tar.gz (4.5 kB) Copy SHA256 Checksum SHA256 Source Mar 6, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting