Skip to main content
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!

Simple backend to intercept emails during development

Project Description

Django email interceptor provides email backends to intercept outgoing mail and mail them to a specified email instead.

Quickstart

Install via pip

pip install django-interceptor

Add to installed apps:

INSTALLED_APPS = (
    ...
    'interceptor',
    ...
)

Change the email backend to use interceptor and set an email to send the intercepted mail to:

EMAIL_BACKEND = 'interceptor.backends.SmtpInterceptorBackend'

INTERCEPTOR_EMAIL = 'test@example.com'

Testing

To run tests, install the requirements for testing and run!

pip install -r requirements/test.txt
python runtests.py
Release History

Release History

This version
History Node

0.1

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