Skip to main content

Django SES Plus

Django module to store and send email with AWS SES. It's an extension for django-ses package.

Releases

You can see the releases here.

Installation

  1. pip install django-ses-plus.

  2. Add django_ses_plus to the INSTALLED_APPS in the settings file.

  3. Set up Django SES Plus email backend.

EMAIL_BACKEND = 'django_ses_plus.backends.SESPlusBackend'

Please refer to django-ses package documentation for detailed configuration of AWS SES.

  1. Configure settings.
DJANGO_SES_PLUS_SETTINGS = {
    "SEND_EMAIL": True,  # True by default.
    "CELERY_TASK_RETRY_KWARGS": {
        'max_retries': 15, 
        'countdown': 60
    }
}
  1. python manage.py migrate

  2. (Optional) Add SendEmailMixin to your auth user model.

from django_ses_plus.models import SendEmailMixin

class AuthUser(SendEmailMixin,...):
    ....
    
user.send_email(subject, template_path, context, from_email=None, language=None)
# OR
from django_ses_plus.tasks import send_email
send_email.delay(subject, to_email, html_message, from_email=None, message=None, recipient_id=None)

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.

Release files for django-ses-plus 1.0.0

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-ses-plus 1.0.0
File Size Uploaded
django-ses-plus-1.0.0.tar.gz 9.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-ses-plus 1.0.0
File Interpreter ABI Platform
django_ses_plus-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.5 kB

Release files / django-ses-plus-1.0.0.tar.gz

Download URL django-ses-plus-1.0.0.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3578d7f60db738f54aa6c9325dafd094f4621297931514901c72e927b8114a76
BLAKE2b-256 checksum
How to use checksums
8b34436ccfc9c4ecda74a857e37b1c1aa9e5ad408e554c4dbe0e56cd27ea5295
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / django_ses_plus-1.0.0-py3-none-any.whl

Download URL django_ses_plus-1.0.0-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a2a85aa1214c64f1da0706496393874b15f1ab31a3febe862133fa05fd0fe082
BLAKE2b-256 checksum
How to use checksums
236371ce63d3a1f06738d53cbe7f184ce79368d7c03440b0e9f94ba0c09c6e12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

0.2.2

1 release file

0.1.1

1 release file

0.1.0

1 release file

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