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.
$ pip install django-ses-boto3
Add
django_ses_boto3toINSTALLED_APPSinsettings.py:INSTALLED_APPS = [ ... 'django_ses_boto3', ]Update
EMAIL_BACKENDinsettings.py:EMAIL_BACKEND = 'django_ses_boto3.ses_email_backend.SESEmailBackend'
Set
AWS_SES_REGION_NAMEinsettings.py:AWS_SES_REGION_NAME = 'us-west-2' # or your AWS region
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).
- Tests