Skip to main content

Email Hijacker for Django

Project description

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

  • Initial

Project details


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.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

django_email_hijacker-0.1-py2.py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page