Metadata-Version: 2.0
Name: django-email-hijacker
Version: 0.2
Summary: Email Hijacker for Django
Home-page: https://github.com/OohlaLabs/django-email-hijacker
Author: OohlaLabs Limited
Author-email: packages@oohlalabs.co.nz
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: Django
Requires-Dist: Django (>=1.5)

=====================
Django Email Hijacker
=====================

.. image:: https://pypip.in/version/django-email-hijacker/badge.svg
    :target: https://pypi.python.org/pypi/django-email-hijacker/

.. image:: https://pypip.in/format/django-email-hijacker/badge.svg
    :target: https://pypi.python.org/pypi/django-email-hijacker/

.. image:: https://travis-ci.org/OohlaLabs/django-email-hijacker.svg?branch=master
    :target: https://travis-ci.org/OohlaLabs/django-email-hijacker

.. image:: https://coveralls.io/repos/OohlaLabs/django-email-hijacker/badge.png?branch=master
    :target: https://coveralls.io/r/OohlaLabs/django-email-hijacker

.. image:: https://pypip.in/py_versions/django-email-hijacker/badge.svg
    :target: https://pypi.python.org/pypi/django-email-hijacker/

.. image:: https://pypip.in/license/django-email-hijacker/badge.svg
    :target: https://pypi.python.org/pypi/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"


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


