Channels Sendmail
Simple package to wrap Django’s built-in send_mail function with channels, sending the mail with whichever backend you are using asynchronously.
Install
Requires Django 1.8+ and Channels.
pip install channels-sendmail
Usage
Add to your routing
channel_routing = [
# ...
include('sendmail.routing.channel_routing'),
]
Use where you have used django.core.mail.send_mail in the past:
from sendmail import send_mail
send_mail(...) # Normal arguments to send_mail
Configuration
CHANNELS_SENDMAIL_CHANNEL_NAME which defaults to “django.core.mail.send_mail”
Metadata
Release files for channels-sendmail 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| channels-sendmail-0.0.1.tar.gz | 2.2 kB | Without provenance | Details for channels-sendmail-0.0.1.tar.gz |
Release files / channels-sendmail-0.0.1.tar.gz
| Download URL | channels-sendmail-0.0.1.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31e3f45dd1cf3fb970d25bc8d8b73606c3e42de1bb6ede7bd455b493d25fd135
|
|
BLAKE2b-256 checksum How to use checksums |
073d5e29410c2b8bfd5de5c9bd0e49549b8eb299320edb7fd58947161c6663ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for channels-sendmail 0.0.1
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.