Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

Simple package to wrap Django's built-in `send_mail` function with channels

Project description

Simple package to wrap Django’s built-in send_mail function with channels, sending the mail with whichever backend you are using asynchronously.


Requires Django 1.8+ and Channels.

pip install channels-sendmail


Add to your 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


  • CHANNELS_SENDMAIL_CHANNEL_NAME which defaults to “django.core.mail.send_mail”

Project details

Download files

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

Files for channels-sendmail, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size channels-sendmail-0.0.1.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page