Skip to main content

A django package which act as a gateway to send and receive email with amazon SES.

Project description

django-ses-gateway’s documentation: Downloads Latest Release Code Health


Django ses gateway is used for sending mails from your verified domains and verifed emails with less cost. We can also use django-ses-gateway for receive messages and deliver them to an Amazon S3 bucket in an enctypted format, call your custom code via an AWS Lambda function, or publish notifications to Amazon SNS to process the response.

Installation Procedure

  1. Install django-ses-gateway using the following command:

    pip install django-ses-gateway
    git clone git://
    cd django-ses-gateway
    python install
  2. After installing/cloning this, add the following details in settings file to send/receive emails notifications

    # AWS details
    AWS_ACCESS_KEY_ID = "Your AWS Access Key"
    AWS_SECRET_ACCESS_KEY = "Your AWS Secret Key"


  1. Sending an email:

    sending_mail(subject, email_template_name, context, from_email, to_email)
  2. Receiving an email:

    from django_ses_gateway.receiving_mail import sns_notification
    subject, from_mail, to_mail, hash_code, mail_content = sns_notification(request.body)

It will process the your message content, will return the email subject, from mail, to email(, hashcode(abc), mail content.

We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here

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-ses-gateway-0.1.1.tar.gz (3.4 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page