Skip to main content

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

Project details


Release history Release notifications | RSS feed

This version

0.1

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-interceptor-0.1.tar.gz (3.1 kB view details)

Uploaded Source

File details

Details for the file django-email-interceptor-0.1.tar.gz.

File metadata

File hashes

Hashes for django-email-interceptor-0.1.tar.gz
Algorithm Hash digest
SHA256 bd6bd768b452cc79eaa769293dfa5f6855559c73a963919b0ce19071307945c4
MD5 2c34535711478edd60f67eef3575dcd4
BLAKE2b-256 9d1489ad88dfd5ced4117a50351bf3e0550ad17dfc573ea880d9b7bebea7a729

See more details on using hashes here.

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