Skip to main content

A Django email backend that uses Boto3 to interact withAmazon Simple Email Service (SES).

Project description

A Django email backend that uses Boto3 to interact with Amazon Simple Email Service (SES).

Usage

First, install the Django Amazon SES email backend:

$ pip install django-amazon-ses

Next, ensure that your Amazon Web Services API credentials are setup, or that you are running on an Amazon EC2 instance with an instance profile with access to the ses:SendRawEmail action:

$ aws --profile test configure

Lastly, override the default SMTP EMAIL_BACKEND within your Django settings file:

AWS_PROFILE   = 'test'
EMAIL_BACKEND = 'django_amazon_ses.backends.boto.EmailBackend'

Testing

The test suite execution process is managed by tox and takes care to mock out the Boto interactions with Amazon’s API, so there is no need for a valid set of credentials to execute it:

$ tox

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-amazon-ses-0.1.3.tar.gz (8.0 kB view hashes)

Uploaded Source

Supported by

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