Skip to main content

django-ses-gateway’s documentation:

https://travis-ci.org/MicroPyramid/django-ses-gateway.svg?branch=master Downloads Latest Release https://coveralls.io/repos/github/MicroPyramid/django-ses-gateway/badge.svg?branch=master Code Health https://img.shields.io/github/license/micropyramid/django-ses-gateway.svg

Introduction:

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
    
                (or)
    
    git clone git://github.com/micropyramid/django-ses-gateway.git
    
    cd django-ses-gateway
    
    python setup.py 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"

Usage:

  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(abc@yourdomain.com), 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

Metadata

Release files for django-ses-gateway 0.1.1

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-gateway 0.1.1
File Size Uploaded
django-ses-gateway-0.1.1.tar.gz 3.4 kB Details

Release files / django-ses-gateway-0.1.1.tar.gz

Download URL django-ses-gateway-0.1.1.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8f316e7205ef755e5a51c1fba966af7c3f8267dc53dd2de310560dc4d9a2c9be
BLAKE2b-256 checksum
How to use checksums
352821bb857587eb8b594223c3d9527cadd382110df090201fd101fefb255bc7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1

1 release file

0.0.2

1 release file

0.0.1

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