sparkpost-async

An asynchronous SparkPost email backend for Django.


Keywords
async, django, dramatiq, email, sparkpost
License
GPL-3.0
Install
pip install sparkpost-async==0.2

Documentation

python-sparkpost-async

An asynchronous SparkPost email backend for Django; currently only supports Dramatiq (not Celery).

Quickstart

  1. Install sparkpost-async via pip:

    pip install sparkpost-async
    
  2. Add sparkpost_async to your INSTALLED_APPS in your project settings.py file:

INSTALLED_APPS = [
    '...',
    'sparkpost_async',
]
  1. Set the EMAIL_BACKEND setting in settings.py:

    EMAIL_BACKEND = 'sparkpost_async.email_backend.AsyncSparkPostEmailBackend'
  2. Make sure all other settings required by python-sparkpost are set. See the python-sparkpost docs for more info.

  3. Also make sure that dramatiq and django_dramatiq are properly configured.

Compatibility

  • Compatible with Python 3.8 and above.
  • Compatible with Django 3.2 and above.

Versioning

This project follows semantic versioning (SemVer).

License and code of conduct

Check the root of the repo for these files.