Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Django Email Backend which only sends to whitelisted recipients

Project Description

Django Email Backend which only sends to whitelisted recipients

This email backend behaves just like the default SMTP backend
except that it only sends messages to a select set of addresses.

Use the setting `EMAIL_ALLOWED_RECIPIENTS` to specify allowed addresses as
regular expressions. The filter uses the Python 'match' method to check
the regular expressions against the email recipients.

It only matches the email addresses and not the optional 'name' part of
recipients. All addresses are lowercased before matching.

Example settings:

EMAIL_BACKEND = 'django_filtered_mail.mail.EmailBackend'

Release History

Release History

This version
History Node


History Node


Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-filtered-mail-0.2.tar.gz (3.0 kB) Copy SHA256 Checksum SHA256 Source Dec 9, 2014

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