django- -gateway Documentation

Similar documents
Amazon Web Services. Block 402, 4 th Floor, Saptagiri Towers, Above Pantaloons, Begumpet Main Road, Hyderabad Telangana India

AWS Course Syllabus. Linux Fundamentals. Installation and Initialization:

LINUX, WINDOWS(MCSE),

At Course Completion Prepares you as per certification requirements for AWS Developer Associate.

Introduction to cloud computing

Amazon Simple Notification Service. CLI Reference API Version

Amazon Web Services (AWS) Solutions Architect Intermediate Level Course Content

Amazon Web Services Training. Training Topics:

Amazon Simple Service. API Reference API Version

Amazon Web Services (AWS) Training Course Content

G Suite Basic or G Suite Business - Setup Instructions

Software as a Service (SaaS) Quick Start

Enroll Now to Take online Course Contact: Demo video By Chandra sir

Training on Amazon AWS Cloud Computing. Course Content

Getting Started with the Google Cloud SDK on ThingsPro 2.0 to Publish Modbus Data and Subscribe to Cloud Services

AWS Administration. Suggested Pre-requisites Basic IT Knowledge

2016 Infoblox Inc. All rights reserved. Implementing AWS Route 53 Synchronization Infoblox-DG January 2016 Page 1 of 8

MONITORING SERVERLESS ARCHITECTURES

Deploying a Production Gateway with Airavata

SelectSurvey.NET AWS (Amazon Web Service) Integration

Quick start guide for Infscape UrBackup Appliance on Amazon Web Services

XCONNECT 2018 GATEWAY USER MANUAL

dj-libcloud Documentation

Amazon SES - For Great Delivery

Diving into AWS Lambda

AWS Mobile Hub. Build, Test, and Monitor Your Mobile Apps. Daniel Geske, Solutions Architect 31 May 2017

Use NAT to Hide the Real IP Address of CTC to Establish a Session with ONS 15454

Amazon Web Services. A Short Guide. SLUUG R. Scott Granneman Jans Carton

2013 AWS Worldwide Public Sector Summit Washington, D.C.

Getting Started with AWS IoT

Back-end architecture

Amazon Web Services Course Outline

Beyond Virtual Machines: Tapping into the AWS Universe from FileMaker

How to Configure Route 53 for F-Series Firewalls in AWS

RCR Registry Signup Portal Steps for Signup Updated September 2015

Manage Your DNS In The Cloud Get Started With Route 53

Leveraging the Security of AWS's Own APIs for Your App. Brian Wagner Solutions Architect Serverless Web Day June 23, 2016

Video on Demand on AWS

Product Guide Marketo Integration

flask-dynamo Documentation

ActiveNET. #202, Manjeera Plaza, Opp: Aditya Park Inn, Ameerpetet HYD

Administration Guide

Bitdock. Release 0.1.0

django-users2 Documentation

Getting Started with Cloudamize Manage

AWS Tools for Microsoft Visual Studio Team Services: User Guide

About Intellipaat. About the Course. Why Take This Course?

AWS Quick Start Guide: Back Up Your Files to Amazon Simple Storage Service. Quick Start Version Latest

Admin Guide. Apptix Unified Communications (UC) Control Panel Setup. Apptix Live Support:

AWS Lambda + nodejs Hands-On Training

EDB Ark. Administrative User s Guide. Version 3.2

Ciphermail Webmail Messenger Administration Guide

Cloud Computing. Amazon Web Services (AWS)

Emulating Lambda to speed up development. Kevin Epstein CTO CorpInfo AWS Premier Partner

Administrator Guide Administrator Guide

Cloud Computing ECPE 276. AWS Hosted Services

Understanding Perimeter Security

EcoprintQ Student User Guide

certbot-dns-route53 Documentation

Digital Democracy Video Manager

Thomson Reuters Graph Feed & Amazon Neptune

How-to Guide for Exercise Access the Demo Appliance Landscape (Week 1, Unit 6, Part 1)

Amazon Web Services Monitoring Integration User Guide

BriCS. University of Bristol Cloud Service Simulation Runner. User & Developer Guide. 1 October John Cartlidge & M.

MOBILE APP FOR ACME INC. by Sean Hull - Cloud Solutions Architect -

lab Creating a Low Cost Sync Database for JavaScript Applications with AWS V1.00 AWS Certified Developer Associate lab title Course title

The Orion Papers. AWS Solutions Architect (Associate) Exam Course Manual. Enter

Develop and test your Mobile App faster on AWS

AWS Solution Architect Associate

Security Aspekts on Services for Serverless Architectures. Bertram Dorn EMEA Specialized Solutions Architect Security and Compliance

AWS Service Catalog. User Guide

AWS X-Ray. Developer Guide

PrepAwayExam. High-efficient Exam Materials are the best high pass-rate Exam Dumps

What is Cloud Computing? What are the Private and Public Clouds? What are IaaS, PaaS, and SaaS? What is the Amazon Web Services (AWS)?

Welcome to the Online User Guide

Cloud scaling of Visual Weather

S-Drive Installation Guide v1.28

django-cas Documentation

Exam Questions AWS-Certified- Developer-Associate

SaaSaMe Transport Workload Snapshot Export for. Alibaba Cloud

Django MFA Documentation

Lab 2 Third Party API Integration, Cloud Deployment & Benchmarking

Office 365 Standalone Security

How to Configure Office 365 for Inbound and Outbound Mail

Django-CSP Documentation

AWS X-Ray. Developer Guide

AWS Toolkit for Eclipse User Guide

Workshare Client Extranet. Getting Started Guide. for Mac

User Management in Resource Manager

Workshare Protect Server 3.9 on Microsoft Azure. Admin Guide

Amazon S3 Glacier. Developer Guide API Version

MIGRATE2IAAS CLOUDSCRAPER TM V0.5 USER MANUAL. 16 Feb 2014 Copyright M2IAAS INC.

LimeSurvey. You must have at least one group in each survey, even if you do not wish to divide the survey into multiple groups.

S-Drive Installation Guide v1.25

Account Customer Portal Manual

AWS Solution Architect (AWS SA)

Hackproof Your Cloud Responding to 2016 Threats

Oracle Eloqua Legacy Authenticated Microsites and Contact Users. Configuration Guide

Advanced Usage of the AWS CLI. Brian Wagner, Solutions Architect

Testbed-12 TEAM Engine Virtualization User Guide

Transcription:

django-email-gateway Documentation Release 0.1 django-email-gateway Jan 17, 2018

Contents 1 Introduction: 1 2 Requirements 3 3 Installation Procedure 5 4 Verifying Domains 7 5 Verifying Email Addresses 9 6 Receiving Email 11 7 Usage: 13 i

ii

CHAPTER 1 Introduction: django-email-gateway is used for sending mails from your verified domains and verifed emails with less cost. We can also use django-email-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. Source Code is available in Micropyramid Repository(https://github.com/MicroPyramid/django-email-gateway). Modules used: lxml 1

django-email-gateway Documentation, Release 0.1 2 Chapter 1. Introduction:

CHAPTER 2 Requirements Python >= 2.6 (or Python 3.4) lxml >=3.6.1 3

django-email-gateway Documentation, Release 0.1 4 Chapter 2. Requirements

CHAPTER 3 Installation Procedure 1. Install django-email-gateway using the following command: pip install django-email-gateway (or) git clone git://github.com/micropyramid/django-email-gateway.git cd django-email-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" 5

django-email-gateway Documentation, Release 0.1 6 Chapter 3. Installation Procedure

CHAPTER 4 Verifying Domains We need to verify email address and domains to confirm that we are using those domains or to prevent from others using it. Login into AWS console if you have already AWS account or signup at https://portal.aws.amazon.com/gp/aws/ developer/registration/index.html 1. For each region, we need to verify the domain seperately. 2. In aws ses/domains panel, you can view all the domains with their verification status, bounce, compaint sns topic, dkim, mail from domain details 3. By clicking on Verify a New Domain, a popup will be appeared to create new domain along with dkim settings 4. After creation of new domain, a popup will be appeared by displaying a txt, cname, mx records of a repsective domain. You need to add these reocords your domains dns server 5. After adding these details, you can check your domain verification status 6. If your domain successfully verifed, then all your emails with respective domain, sub domains will also be verified. 7

django-email-gateway Documentation, Release 0.1 8 Chapter 4. Verifying Domains

CHAPTER 5 Verifying Email Addresses 1. To send emails from aws ses, you need to verify your from email addresses in aws ses console/email address panel 2. By clicking on Verify a New Email Address, a popup will be appeared to create new email address 3. Confirmation email has been sent to you after creating a new email. By clicking on the Arrow Icon in the table, details of Email Feedback, Delivery Notifications SNS, Bounce Notifications, Complaint Notifications SNS for the respective email will be displayed. 9

django-email-gateway Documentation, Release 0.1 10 Chapter 5. Verifying Email Addresses

CHAPTER 6 Receiving Email 1. In aws ses Email Receiving, choose Rule Sets. then in content panel choose Create a Receipt Rule. 2. In the add action menu, choose s3, then you need to select/create a bucket to store all encypted receiving emails content. 3. To recieve sns notifications, add another action of sns. Here you need to create/select a topic to process the receiving mail message content. 4. Then in Rule Details page, give the rule name, create the rule. 5. In AWS-SNS services, for the topic which you have created/selected in active receipt rule set, you need to add your subscription request which may either email, AWS SQS, HTTP or HTTPS. 6. For the http or https, you need to specify the endpoint(your application URL to receive email content), SNS will send the receiving email content to specified url. 7. For email, email-json, it will send an Amazon SES Email Receipt Notification with receiving email content. 8. For AWS Lamda, SQS, you need to specify the endpoint(lamda function name, sqs queue name). 11

django-email-gateway Documentation, Release 0.1 12 Chapter 6. Receiving Email

CHAPTER 7 Usage: 1. Sending an email: sending_mail(subject, email_template_name, context, from_email, to_email, verified) 2. Receiving an email: from django_email_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. 13