Skip to content

Django custom email backend for SES using Boto 3

License

Notifications You must be signed in to change notification settings

sfogle/django-ses-boto3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-ses-boto3

Custom Django email backend for Amazon Simple Email Service (SES) using Boto 3 and Python 3.

If you don't need boto3, use django-ses instead.

Installation

$ pip install django-ses-boto3

Quick start

  1. Add django_ses_boto3 to INSTALLED_APPS in settings.py:

    INSTALLED_APPS = [
        ...
       'django_ses_boto3',
    ]
    
  2. Update EMAIL_BACKEND in settings.py:

    EMAIL_BACKEND = 'django_ses_boto3.ses_email_backend.SESEmailBackend'
    
  3. Set AWS_SES_REGION_NAME in settings.py:

    AWS_SES_REGION_NAME = 'us-west-2' # or your AWS region
    

Authentication

This library uses preconfigured AWS credentials. Configuration instructions: https://boto3.readthedocs.io/en/latest/guide/configuration.html#guide-configuration

Passing credentials as method parameters is NOT supported (or recommended).

TODO

  • Tests

About

Django custom email backend for SES using Boto 3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages