Skip to main content
django-filtered-mail
====================

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'

EMAIL_ALLOWED_RECIPIENTS = (
r'^.*@dreamsolution.nl$',
r'^some.one@gmail.com$',
)

Metadata

Release files for django-filtered-mail 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-filtered-mail 0.2
File Size Uploaded Provenance Actions
django-filtered-mail-0.2.tar.gz 3.0 kB Without provenance Details for django-filtered-mail-0.2.tar.gz

Release files / django-filtered-mail-0.2.tar.gz

Download URL django-filtered-mail-0.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fd7e2377a085ba75ecc39e70e73345bfdf9a99e3e717e7b6b43f740572f391d8
BLAKE2b-256 checksum
How to use checksums
869c1b1dbd0e4abeec097ca294064e9419fdefa875902ea5726b66561a9e70b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-filtered-mail 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page