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


Supported Python versions Latest Version License Travis CI Django 1.7, 1.8


Quickstart

Install via pip

pip install django-email-interceptor

Add to installed apps:

INSTALLED_APPS = (
    ...
    'email_interceptor',
    ...
)

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

EMAIL_BACKEND = 'email_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 notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-email-interceptor-0.1.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None Jul 14, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page