Skip to main content

An implementation of Django's EmailBackend compatible with sendgrid-python v5+

Project description

Latest Release Travis Build Status

This package implements an email backend for Django that relies on sendgrid’s REST API for message delivery.

It is under active development, and pull requests are more than welcome!

How to Install

  1. pip install django-sendgrid-v5

  2. In your project’s settings.py script:

    1. Set EMAIL_BACKEND = "sendgrid_backend.SendgridBackend"

    2. Add SENDGRID_API_KEY = os.environ["SENDGRID_API_KEY"]

    3. To toggle sandbox mode (when django is running in DEBUG mode), set SENDGRID_SANDBOX_MODE_IN_DEBUG = True/False. This value is True by default.

Project details


Download files

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

Source Distribution

django-sendgrid-v5-0.6.81.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_sendgrid_v5-0.6.81-py2.py3-none-any.whl (5.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-sendgrid-v5-0.6.81.tar.gz.

File metadata

File hashes

Hashes for django-sendgrid-v5-0.6.81.tar.gz
Algorithm Hash digest
SHA256 18df4c954870db4d3c2115d2e63fb59d363ab67ff73e34a4e49d0a7ab16146bc
MD5 e164d83a379033ea7e58285c65173481
BLAKE2b-256 e0ac6b048d219b7a3cdda3b84d19038319e0bcdd6b4aea9df4be7615464159ac

See more details on using hashes here.

File details

Details for the file django_sendgrid_v5-0.6.81-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_sendgrid_v5-0.6.81-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4c3dc57496509afcb63dd2dd2b3bf5f1e8d66dd9e2251f979221b676a44cb14e
MD5 b311d76f0c4997dc296a5745b22421af
BLAKE2b-256 4f1b886340402e70953b41020e4a1059ec50b4e6300114f408f71a011a340073

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page