SlideShare a Scribd company logo
1 of 50
Using SMTP with
               Amazon Simple Email Service
                                                  Jenn Steele, Product Marketing Manager




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using SMTP with Amazon SES – Agenda
     Amazon SES Overview
        • Getting Started with Amazon SES
     Using SMTP with Amazon SES
        • Creating Credentials
        • Examples
     Support Resources
     Q&A



© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
What is Amazon SES?


                                                                                                       Minimal setup, maximum deliverability

                                                                                                       Send a lot of email as often as necessary

                                                                                                       All aspects of email management built in

                                                                                                       Focus on your core business




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Successful Email Delivery




     01101000 01101001




           Sender                                                              Amazon SES                                            Receiver ISP




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Bounces




     01101000 01101001




          Sender                                                               Amazon SES                                            Receiver ISP




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Complaints




     01101000 01101001




           Sender                                                              Amazon SES                                            Receiver ISP




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Pricing
     Cost per thousand (CPM)
        • Email messages are charged at $0.10 per thousand.
              *A message is defined as a single email communication sent to a single email address. A single email communication sent to
              multiple recipients is considered to be a unique message to each recipient.
     Data Transfer
        •




              *Data transfer “in” and “out” refers to transfer into and out of Amazon SES. Data transferred between Amazon SES and Amazon
              EC2 within a single region is free of charge. Data transferred between Amazon SES and Amazon EC2 in different regions will be
              charged at Internet Data Transfer rates on both sides of the transfer.




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Pricing
     Attachments
        • Attachment bandwidth is charged at $0.12 per GB.
     Free Tier
        • If you are an Amazon EC2 user, you can get started with
          Amazon SES for free. You can send 2,000 messages for free
          each day when you call Amazon SES from an Amazon EC2
          instance directly or through AWS Elastic Beanstalk. Many
          applications are able to operate entirely within this free tier limit.
        Note: Data transfer fees still apply. For new AWS customers eligible for the AWS free usage tier, you receive 15
        GB of data transfer in and 15 GB of data transfer out aggregated across all AWS services, which should cover
        your Amazon SES data transfer costs. In addition, all AWS customers receive 1GB of free data transfer per
        month.




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Getting Started
     Sign Up
        •     After signing up, you can access the Amazon SES sandbox – an environment
              specifically designed for developers to test and evaluate the service.
     Verify Email Address
        •     Before you can send email via Amazon SES, verify that you own the address
              from which you’ll be sending email via the Management Console.
     Request Production Access
        •     Complete the Amazon SES Production Access form on the Contact Us page.
     Send Email
        •     You can easily use SMTP or one of two different APIs to queue an email
              message for delivery.
     Get Feedback
        •     Use the Amazon SES Management Console or directly call the API to query the
              latest information on your sending statistics.


© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Sign Up




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Verify Email Address




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Verify Email Address




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Sandbox
     200 messages per 24 hours
     Send 1 message per second (1 TPS)
     Can only send from or to verified email addresses




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Production Access
     Increasing quota – starting at 10,000 per day
     Increasing TPS – starting at 5
     Can send to any email address in the world
        • Still can only send from verified email addresses




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Request Production Access




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Request Production Access




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Request Production Access




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Getting Started with SMTP




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Creating SMTP Credentials




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Creating SMTP Credentials




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Creating SMTP Credentials




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Creating SMTP Credentials




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Getting SMTP Settings




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
About the Amazon SES TLS Implementation
     Must use TLS (Transport Layer Security)
     Uses TLS wrapper mode
        • SMTP clients must initiate connection using TLS encryption
     Does not perform STARTTLS negotiation
        • If your system does not support TLS wrapper mode, you can use
          stunnel (http://www.stunnel.org) or a similar program to set up a
          secure tunnel




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
SMTP Examples
     MS Outlook
     Postfix (with STunnel)




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES with MS Outlook




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Using Amazon SES SMTP with Postfix
     Using STunnel
     Setting up Postfix




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
About STunnel
     Your sending application connects to STunnel locally
     STunnel securely connects to Amazon SES
                                       Local                                        Secure
                                      private                                      Internet
                                      network                                     connection




         Postfix                               STunnel                                                                 Amazon SES
                                                                                                                      SMTP Interface

                      Your Machine


© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Setting up STunnel
     Go to www.stunnel.org to download




     Install the software

© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Setting up STunnel
     Open /etc/stunnel/stunnel.conf
     Add the following lines to the file:
         [smtp-tls-wrapper]
         accept = 2525
         client = yes
         connect = email-smtp.us-east-1.amazonaws.com:465




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Setting up STunnel
     Activate the tunnel (@ command prompt):
         sudo stunnel /etc/stunnel/stunnel.conf

     Verify that the tunnel has been created (@ command
     prompt):
         telnet localhost 2525




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Setting up Postfix
     Add the following to /etc/postfix/main.cf:
         relayhost = 127.0.0.1:2525
         smtp_sasl_auth_enable = yes
         smtp_sasl_security_options = noanonymous
         smtp_tls_security_level = may
         smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Setting up Postfix
     Add the following line to the /etc/postfix/sasl_passwd file:
         127.0.0.1:2525 USERNAME:PASSWORD

     Create the encrypted credentials file (@ command
     prompt):
         sudo postmap hash:/etc/postfix/sasl_passwd

     Remove the /etc/postfix/sasl_passwd file
     Restart Postfix (@ command prompt):
         sudo /etc/init.d/postfix restart


© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES Support Resources
     Documentation
     Forum
     Request Increased Sending Limits




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES Documentation




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES Forum




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Request Increased Sending Limits




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Extended Access Form




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Sending Limits




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES Management Console




© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
Amazon SES – Questions?




                                                                      Thank you.


© 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

More Related Content

Viewers also liked

High Performance Cloud Computing
High Performance Cloud ComputingHigh Performance Cloud Computing
High Performance Cloud ComputingAmazon Web Services
 
AWS Summit 2011: Customer Presentation - Advanced Innovations
AWS Summit 2011: Customer Presentation - Advanced InnovationsAWS Summit 2011: Customer Presentation - Advanced Innovations
AWS Summit 2011: Customer Presentation - Advanced InnovationsAmazon Web Services
 
AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...
AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...
AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...Amazon Web Services
 
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS Amazon Web Services
 
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.comCloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.comAmazon Web Services
 
AWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNet
AWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNetAWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNet
AWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNetAmazon Web Services
 
Aws webinar may 2013 designing for failure
Aws webinar may 2013   designing for failureAws webinar may 2013   designing for failure
Aws webinar may 2013 designing for failureAmazon Web Services
 
AWS Customer Presentation - Tell Apart
AWS Customer Presentation - Tell ApartAWS Customer Presentation - Tell Apart
AWS Customer Presentation - Tell ApartAmazon Web Services
 
AWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWS
AWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWSAWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWS
AWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWSAmazon Web Services
 
Consistent High IO Performance with Amazon Elastic Block Store
Consistent High IO Performance with Amazon Elastic Block StoreConsistent High IO Performance with Amazon Elastic Block Store
Consistent High IO Performance with Amazon Elastic Block StoreAmazon Web Services
 
Cloud by Example for Interactive Agencies
Cloud by Example for Interactive AgenciesCloud by Example for Interactive Agencies
Cloud by Example for Interactive AgenciesAmazon Web Services
 
AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...
AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...
AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...Amazon Web Services
 
Webinar | Introduction to Amazon DynamoDB
Webinar | Introduction to Amazon DynamoDBWebinar | Introduction to Amazon DynamoDB
Webinar | Introduction to Amazon DynamoDBAmazon Web Services
 
AWS Cloud School | London - Part 1
AWS Cloud School | London - Part 1AWS Cloud School | London - Part 1
AWS Cloud School | London - Part 1Amazon Web Services
 
Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...
Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...
Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...Amazon Web Services
 

Viewers also liked (20)

Running a Campaign in the Cloud
Running a Campaign in the CloudRunning a Campaign in the Cloud
Running a Campaign in the Cloud
 
AWS Office Hours: Dev and Test
AWS Office Hours: Dev and TestAWS Office Hours: Dev and Test
AWS Office Hours: Dev and Test
 
High Performance Cloud Computing
High Performance Cloud ComputingHigh Performance Cloud Computing
High Performance Cloud Computing
 
AWS Summit 2011: Customer Presentation - Advanced Innovations
AWS Summit 2011: Customer Presentation - Advanced InnovationsAWS Summit 2011: Customer Presentation - Advanced Innovations
AWS Summit 2011: Customer Presentation - Advanced Innovations
 
AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...
AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...
AWS Customer Presentation: Earth Networks - How Earth Networks uses AWS - AWS...
 
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
How Enterprises are using the AWS Cloud, Dan Powers, VP, AWS
 
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.comCloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
Cloud Computing for the Enterprise, Dr Werner Vogels, CTO Amazon.com
 
AWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNet
AWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNetAWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNet
AWS Summit 2011: Cloud Compliance 101: No PhD required - SafeNet
 
Aws webinar may 2013 designing for failure
Aws webinar may 2013   designing for failureAws webinar may 2013   designing for failure
Aws webinar may 2013 designing for failure
 
AWS Customer Presentation - Tell Apart
AWS Customer Presentation - Tell ApartAWS Customer Presentation - Tell Apart
AWS Customer Presentation - Tell Apart
 
AWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWS
AWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWSAWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWS
AWS Webcast - AWS 101 - Journey to the AWS Cloud: Introduction to AWS
 
Consistent High IO Performance with Amazon Elastic Block Store
Consistent High IO Performance with Amazon Elastic Block StoreConsistent High IO Performance with Amazon Elastic Block Store
Consistent High IO Performance with Amazon Elastic Block Store
 
Cloud by Example for Interactive Agencies
Cloud by Example for Interactive AgenciesCloud by Example for Interactive Agencies
Cloud by Example for Interactive Agencies
 
Introduction to Gaming on AWS
Introduction to Gaming on AWSIntroduction to Gaming on AWS
Introduction to Gaming on AWS
 
AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...
AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...
AWS Partner Presentation - TrendMicro - Securing your Journey to the Cloud, A...
 
Webinar | Introduction to Amazon DynamoDB
Webinar | Introduction to Amazon DynamoDBWebinar | Introduction to Amazon DynamoDB
Webinar | Introduction to Amazon DynamoDB
 
AWS Cloud School | London - Part 1
AWS Cloud School | London - Part 1AWS Cloud School | London - Part 1
AWS Cloud School | London - Part 1
 
Route 53 Latency Based Routing
Route 53 Latency Based RoutingRoute 53 Latency Based Routing
Route 53 Latency Based Routing
 
AWS TCO Compute
AWS TCO Compute AWS TCO Compute
AWS TCO Compute
 
Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...
Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...
Enterprise Cloud Computing with AWS - How enterprises are using the AWS Cloud...
 

More from Amazon Web Services

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Amazon Web Services
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Amazon Web Services
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateAmazon Web Services
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSAmazon Web Services
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Amazon Web Services
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Amazon Web Services
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...Amazon Web Services
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsAmazon Web Services
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareAmazon Web Services
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSAmazon Web Services
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAmazon Web Services
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareAmazon Web Services
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWSAmazon Web Services
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckAmazon Web Services
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without serversAmazon Web Services
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...Amazon Web Services
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceAmazon Web Services
 

More from Amazon Web Services (20)

Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
Come costruire servizi di Forecasting sfruttando algoritmi di ML e deep learn...
 
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
Big Data per le Startup: come creare applicazioni Big Data in modalità Server...
 
Esegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS FargateEsegui pod serverless con Amazon EKS e AWS Fargate
Esegui pod serverless con Amazon EKS e AWS Fargate
 
Costruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWSCostruire Applicazioni Moderne con AWS
Costruire Applicazioni Moderne con AWS
 
Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot Come spendere fino al 90% in meno con i container e le istanze spot
Come spendere fino al 90% in meno con i container e le istanze spot
 
Open banking as a service
Open banking as a serviceOpen banking as a service
Open banking as a service
 
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
Rendi unica l’offerta della tua startup sul mercato con i servizi Machine Lea...
 
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...OpsWorks Configuration Management: automatizza la gestione e i deployment del...
OpsWorks Configuration Management: automatizza la gestione e i deployment del...
 
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows WorkloadsMicrosoft Active Directory su AWS per supportare i tuoi Windows Workloads
Microsoft Active Directory su AWS per supportare i tuoi Windows Workloads
 
Computer Vision con AWS
Computer Vision con AWSComputer Vision con AWS
Computer Vision con AWS
 
Database Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatareDatabase Oracle e VMware Cloud on AWS i miti da sfatare
Database Oracle e VMware Cloud on AWS i miti da sfatare
 
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJSCrea la tua prima serverless ledger-based app con QLDB e NodeJS
Crea la tua prima serverless ledger-based app con QLDB e NodeJS
 
API moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e webAPI moderne real-time per applicazioni mobili e web
API moderne real-time per applicazioni mobili e web
 
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatareDatabase Oracle e VMware Cloud™ on AWS: i miti da sfatare
Database Oracle e VMware Cloud™ on AWS: i miti da sfatare
 
Tools for building your MVP on AWS
Tools for building your MVP on AWSTools for building your MVP on AWS
Tools for building your MVP on AWS
 
How to Build a Winning Pitch Deck
How to Build a Winning Pitch DeckHow to Build a Winning Pitch Deck
How to Build a Winning Pitch Deck
 
Building a web application without servers
Building a web application without serversBuilding a web application without servers
Building a web application without servers
 
Fundraising Essentials
Fundraising EssentialsFundraising Essentials
Fundraising Essentials
 
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
AWS_HK_StartupDay_Building Interactive websites while automating for efficien...
 
Introduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container ServiceIntroduzione a Amazon Elastic Container Service
Introduzione a Amazon Elastic Container Service
 

Recently uploaded

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 

Recently uploaded (20)

How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 

Webinar: Using SMTP with Amazon Simple Email Service

  • 1. Using SMTP with Amazon Simple Email Service Jenn Steele, Product Marketing Manager © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 2. Using SMTP with Amazon SES – Agenda Amazon SES Overview • Getting Started with Amazon SES Using SMTP with Amazon SES • Creating Credentials • Examples Support Resources Q&A © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 3. What is Amazon SES? Minimal setup, maximum deliverability Send a lot of email as often as necessary All aspects of email management built in Focus on your core business © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 4. Successful Email Delivery 01101000 01101001 Sender Amazon SES Receiver ISP © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 5. Bounces 01101000 01101001 Sender Amazon SES Receiver ISP © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 6. Complaints 01101000 01101001 Sender Amazon SES Receiver ISP © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 7. Amazon SES – Pricing Cost per thousand (CPM) • Email messages are charged at $0.10 per thousand. *A message is defined as a single email communication sent to a single email address. A single email communication sent to multiple recipients is considered to be a unique message to each recipient. Data Transfer • *Data transfer “in” and “out” refers to transfer into and out of Amazon SES. Data transferred between Amazon SES and Amazon EC2 within a single region is free of charge. Data transferred between Amazon SES and Amazon EC2 in different regions will be charged at Internet Data Transfer rates on both sides of the transfer. © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 8. Amazon SES – Pricing Attachments • Attachment bandwidth is charged at $0.12 per GB. Free Tier • If you are an Amazon EC2 user, you can get started with Amazon SES for free. You can send 2,000 messages for free each day when you call Amazon SES from an Amazon EC2 instance directly or through AWS Elastic Beanstalk. Many applications are able to operate entirely within this free tier limit. Note: Data transfer fees still apply. For new AWS customers eligible for the AWS free usage tier, you receive 15 GB of data transfer in and 15 GB of data transfer out aggregated across all AWS services, which should cover your Amazon SES data transfer costs. In addition, all AWS customers receive 1GB of free data transfer per month. © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 9. Amazon SES – Getting Started Sign Up • After signing up, you can access the Amazon SES sandbox – an environment specifically designed for developers to test and evaluate the service. Verify Email Address • Before you can send email via Amazon SES, verify that you own the address from which you’ll be sending email via the Management Console. Request Production Access • Complete the Amazon SES Production Access form on the Contact Us page. Send Email • You can easily use SMTP or one of two different APIs to queue an email message for delivery. Get Feedback • Use the Amazon SES Management Console or directly call the API to query the latest information on your sending statistics. © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 10. Amazon SES – Sign Up © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 11. Amazon SES – Verify Email Address © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 12. Amazon SES – Verify Email Address © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 13. Amazon SES – Sandbox 200 messages per 24 hours Send 1 message per second (1 TPS) Can only send from or to verified email addresses © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 14. Amazon SES – Production Access Increasing quota – starting at 10,000 per day Increasing TPS – starting at 5 Can send to any email address in the world • Still can only send from verified email addresses © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 15. Amazon SES – Request Production Access © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 16. Amazon SES – Request Production Access © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 17. Amazon SES – Request Production Access © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 18. Getting Started with SMTP © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 19. Creating SMTP Credentials © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 20. Creating SMTP Credentials © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 21. Creating SMTP Credentials © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 22. Creating SMTP Credentials © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 23. Getting SMTP Settings © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 24. About the Amazon SES TLS Implementation Must use TLS (Transport Layer Security) Uses TLS wrapper mode • SMTP clients must initiate connection using TLS encryption Does not perform STARTTLS negotiation • If your system does not support TLS wrapper mode, you can use stunnel (http://www.stunnel.org) or a similar program to set up a secure tunnel © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 25. SMTP Examples MS Outlook Postfix (with STunnel) © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 26. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 27. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 28. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 29. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 30. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 31. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 32. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 33. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 34. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 35. Using Amazon SES with MS Outlook © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 36. Using Amazon SES SMTP with Postfix Using STunnel Setting up Postfix © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 37. About STunnel Your sending application connects to STunnel locally STunnel securely connects to Amazon SES Local Secure private Internet network connection Postfix STunnel Amazon SES SMTP Interface Your Machine © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 38. Setting up STunnel Go to www.stunnel.org to download Install the software © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 39. Setting up STunnel Open /etc/stunnel/stunnel.conf Add the following lines to the file: [smtp-tls-wrapper] accept = 2525 client = yes connect = email-smtp.us-east-1.amazonaws.com:465 © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 40. Setting up STunnel Activate the tunnel (@ command prompt): sudo stunnel /etc/stunnel/stunnel.conf Verify that the tunnel has been created (@ command prompt): telnet localhost 2525 © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 41. Setting up Postfix Add the following to /etc/postfix/main.cf: relayhost = 127.0.0.1:2525 smtp_sasl_auth_enable = yes smtp_sasl_security_options = noanonymous smtp_tls_security_level = may smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 42. Setting up Postfix Add the following line to the /etc/postfix/sasl_passwd file: 127.0.0.1:2525 USERNAME:PASSWORD Create the encrypted credentials file (@ command prompt): sudo postmap hash:/etc/postfix/sasl_passwd Remove the /etc/postfix/sasl_passwd file Restart Postfix (@ command prompt): sudo /etc/init.d/postfix restart © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 43. Amazon SES Support Resources Documentation Forum Request Increased Sending Limits © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 44. Amazon SES Documentation © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 45. Amazon SES Forum © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 46. Request Increased Sending Limits © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 47. Extended Access Form © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 48. Sending Limits © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 49. Amazon SES Management Console © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.
  • 50. Amazon SES – Questions? Thank you. © 2011 Amazon.com, Inc. and its affiliates. All rights reserved. May not be copied, modified or distributed in whole or in part without the express consent of Amazon.com, Inc.

Editor's Notes

  1. Hello, and welcome to our webinar on using SMTP with Amazon Simple Email Service. I’m Jenn Steele, and I’m the product marketing manager for Amazon SES.
  2. Today we have a simple agenda. To make sure we’re all on the same page, I’ll go through a brief overview of Amazon SES and how to get started. Then we’ll jump into using SMTP with Amazon SES. We’ll go through creating credentials in detail, and then we’ll look at a few examples of how you might use it.
  3. What is Amazon Simple Email Service?Amazon SES is a highly scalable and cost-effective bulk and transactional email-sending service for businesses and developers. Amazon SES eliminates the complexity and expense of building an in-house email solution or licensing, installing, and operating a third-party email service. The service integrates with other AWS services, making it easy to send emails from applications being hosted on services such as Amazon EC2, and is an easy-to-use web service that lets you send email and maximize your business’s deliverability – the proportion of email that is delivered to the inbox.
  4. Let’s take a look at how SES works. A client application acting as an email sender makes a request to Amazon SES to send email to one or more recipients.If the request is valid, Amazon SES composes an email message based on the request parameters and then queues it for delivery.The message is routed over the Internet to the recipient's Internet service provider (ISP). The ISP then delivers the message to the recipient's inbox.
  5. If the recipient's email address does not exist, the ISP sends a bounce notification to Amazon SES. The service then forwards the notification to the sender.
  6. A recipient who does not want to receive the message can register a complaint with the ISP by clicking their spam button. The ISP sends the complaint to Amazon SES, which then forwards it to the sender.
  7. I wanted to take a minute to talk about Amazon SES Pricing. We have a flat rate of ten cents per thousand email messages. We do charge for data transfer out, but your first gig each month is free.
  8. If you choose to send email with attachments, the attachments are billed separately at twelve cents per gig.And like many AWS services, we do have a free tier. If you are an Amazon EC2 user, you can send two thousand messages each day for free when you call SES from your EC2 instance directly or through AWS elastic beanstalk.
  9. First, you need to sign up for AWS, if you don’t already have an account. You can get started with any of our services in a matter of minutes.
  10. When you first have an AWS account, you’ll be in the SES Sandbox, where you can only send to or from verified email addresses, and you have a testing quota of 200 messages per day. Really, this is where you’re making sure you can get set up. You know you’re in the sandbox by the big yellow box at the top of this window here in your management console, or if your sending quota is only 200 emails per 24 hour period.In order to test SES, you first need to verify an email address. You should note that Amazon SES has a limit of 100 verified email addresses – these are the only addresses that can be used to send email. As I said before, while you’re in the sandbox, you can also only send TO these verified addresses. Once you have production access, you can only send from a verified address, but you can send to any email address in the world. We’ll review how to get production access in a bit.To start the process, click on the “Verify a New Sender” button, and enter the email address you want to verify in the dialog box that appears.
  11. Then you go to the inbox for the address you’re verifying and find the verification email. Click on the URL or copy and paste it into your browser in order to verify the email address. You’ll get to a thank-you page telling you that you’re ready to start using that email address with SES!If it’s been a long time since you sent that address the verification email, you might get an error message when you try to click the link. If that’s the case, just go back into the management console and re-enter that email address for verification.If it has been an hour since you requested that your email address be verified and you have not received your email, there are two things that we have found are common culprits. The first is that you should check your spam folder. The second is that you should make sure that the email address you’re trying to verify is able to accept external email.
  12. I wanted to take a moment to review the limitations of the sandbox, since that’s where we’ve been working thus far.You have a tiny quota – you can only send 200 messages per day.You can only send one message per second.You can only send from or to verified email addresses – basically, you can only email yourself.The sandbox is here so that you can run a proof-of-concept. It’s a testing environment. The production environment looks different, as we’ll see on our next slide.
  13. When you’re in the production environment, your quota will be 10,000 messages per day and will continue to rise as you send your production email through SES.You will also see your TPS continue to rise as well, although you start at five.And while you can still only send FROM verified email addresses, you can send TO any email address in the world.
  14. You will need to request production access in order to see the benefits we saw on our last slide. Again, you can see that you do not have production access as long as you only have a 200 message per day quota and you have a big yellow box at the top of your Management Console. To request production access, click on the “Request Production Access” button.
  15. Clicking this button will take you to the Amazon SES Production Access form. Please fill it out completely. Production access requests take up to one business day to process, and if our team has any questions for you, we’ll get in contact with you. Please note that we will be looking at production access for the account you’re currently logged into. If you have multiple AWS accounts, make sure you’re logged into the correct one before filling out this form. Once we have processed your request, we will send you email confirmation to the primary email address of that AWS account. However, if you do not regularly check that account, there is a way to easily tell whether you have production access – just check the Management Console. A quota of more than 200 messages per day means that your production access has been granted.
  16. As you can see in this view, you have moved up to a Production quota, and the big yellow box asking you to Request Production Access or Verify a New Sender is gone. When your Management Console looks like this screen shot, you can send email to any email address – no recipient verification necessary. You’ll still need to verify any new sender address through the same process we looked at before.Once you have Production Access, you should start sending your production email through SES. By sending as much of your production email as you can through SES, you’ll find that your sending quota will increase naturally.
  17. Let’s move on to SMTP.Onceyou have production access, you’ll need to generate your SMTP credentials. Please note that you can generate SMTP credentials while you’re in the sandbox as well. To start the process – whether you’re in the sandbox or in production mode, log into your AWS Management Console, go to the Amazon SES tab, and click on SMTP Settings on the left.
  18. When you get to the SMTP settings page, click on the “Create My SMTP Credentials” button. You may have to scroll down a bit to find it.
  19. A dialog box will appear that will allow you to create your SMTP user. You can use the suggested user name, or – even better – you can create a username that is consistent with your internal naming policies. Amazon SES uses AWS Identity and Access Management (IAM) to manage SMTP credentials. The IAM user name is case sensitive and may contain only alphanumeric characters and the following symbols: +_=,.@-SMTP credentials consist of a username and a password. When you click the Create button, SMTP credentials will be generated for you.
  20. You’ll see this dialog box next if your credentials are created successfully. Please note that this is the ONLY time that your SMTP credentials will be available – if you misplace them, you’ll have to generate a new user. If you click the Download Credentials button, you can download the credentials as a CSV file. Alternately, you can click Show User SMTP Security Credentials.
  21. After clicking that, your SMTP Security Credentials will display. You can copy and paste them from this window. If you’re like me, you’ll both download them and copy and paste them – I’ve always preferred the belt and suspenders method. Once you’re finished, you can close the dialog box by clicking the Close Window button.
  22. After you’ve created your SMTP credentials, you’ll be returned to the SMTP Settings page on the SES tab of the AWS Management Console. You use the credentials you just created in conjunction with <click> the settings on this page in order to configure your systems to use SMTP with Amazon SES.The server name is email-smtp.us-east-1.amazonaws.com, you’ll want to use port 465, use TLS, and use your SMTP credentials that you just generated for authentication.
  23. I wanted to take a moment to talk about how Amazon SES uses Transport Layer Security, or TLS. OurSMTP endpoint requires that all connections be encrypted using TLS (Transport Layer Security). The SMTP endpoint uses TLS wrapper mode, which requires that SMTP clients will initiate the connection using TLS encryption. Wrapper mode means that the Amazon SES SMTP endpoint does not perform STARTTLS negotiation: it is the client's responsibility to connect to the endpoint using TLS, and to continue using TLS for the entire conversation.Again, at this time, Amazon SES does not support STARTTLS negotiation. If your system does not support TLS wrapper mode, you can use stunnel (http://www.stunnel.org) or a similar program to set up a secure tunnel.
  24. Now I’ll go through two examples of how to implement SMTP with Amazon SES. First I’ll walk through setting it up with Microsoft Outlook 2010 – this example should give you guidance for configuring it with any software that can send via SMTP. Then we’ll take a look at Postfix, which is less graphically interesting, but will also allow me to show you how Stunnel works as well.
  25. This is an example of how to configure a program with a graphical user interface to use SMTP with Amazon SES. I’m going to use Microsoft Outlook 2010 for this example, but the same basic principles would apply to similar programs like Jira and the like. Go to the file menu, click on Account Settings, and choose Account Settings…
  26. In the Account Settings window, click on New.
  27. In the Add New Account dialog box, make sure E-mail Account is selected, and click Next.
  28. In the next window, select Manually configure server settings or additional server types and then click Next.
  29. On the Choose Service window, choose Internet E-Mail and then click Next.
  30. On the Internet E-mail settings form, fill in the following fields:-for Your Name, type the friendly name from which you’ll be sending the emails-for E-mail Address, put in the email address from which emails will be sent. Please note that this must be a verified email address.-for Account Type, select IMAP or POP3, depending on what your incoming mail server is. If you do not have an incoming mail server, select IMAP-for Incoming Mail server, put in your incoming mail server. Note that Amazon SES does NOT provide incoming mail servers – only outgoing. Outlook requires that you fill in this field, so if you don’t have an incoming mail server, type the word none into this field. -in the Outgoing mail server field, type in email-smtp.us-east-1.amazonaws.com – this is the same value you should have on your SMTP Settings page in your console.-in the User Name blank type the word “none”, because we’ll be configuring your credentials in a bit.Then click on the More Settings button.
  31. In the Internet E-mail Settings window that appears, click on Outgoing Server.<click> Make sure “my outgoing server requires authentication” is selected. <click> Then select “log on using” and put your SMTP user name and password in the available spaces. Make sure you’re using the SMTP credentials that you generated in the AWS management console using the steps that we walked through earlier. <click> Then make sure that “remember password” is checked-off.<click> Once you’ve finished here, click on the Advanced tab.
  32. Here on the advanced tab, you’ll want to fill out the following fields. <click> For Outgoing server, enter port 465. <click> Then select SSL as the type of encrypted connection. If you need to fill in any settings for your incoming mail server, do that as well. <click> When you’re finished with that, click the OK button.
  33. This will take you back to the Internet E-mail Settings screen. You’ll want to test your configuration by clicking the Test Account Settings button. This lets you test your setup by having Outlook send an email through Amazon SES. <click> If the test message that Outlook sends through Amazon SES arrives successfully, click the Next button.
  34. This will take you to the congratulations screen. You’re now ready to send email through Amazon SES with Outlook, and you can click the Finish button to exit.
  35. Now let’s talk about using Amazon SES SMTP with Postfix. I’ll first talk about using Stunnel in order to set up TLS wrapper mode, and then we’ll talk about the Postfix configuration itself.
  36. Not every application might be directly compatible with the SMTP interface’s strong TLS encryption requirement. If that’s the case, you can use Stunnel, which provides a local plaintext/vanilla SMTP interface for your application, and handles encrypted communication with Amazon SES under the covers.You should also note that Stunnel can be used whenever you need STARTTLS and it’s not natively supported.
  37. Go to www.stunnel.org, and download and install STunnel.
  38. Open the /etc/stunnel/stunnel.conf file. If the file does not exist, create it. Add these lines to configure the secure tunnel. For the accept line, specify a port number that is outside the range of reserved ports and is not currently being used. For this example, we will use port 2525 for this purpose, but you can use a different port. Then save the file.
  39. To activate the tunnel, go to a command prompt and type in sudostunnel /etc/stunnel/stunnel.confNext we want to verify that the tunnel has been created. At your command prompt, type in telnet localhost 2525, or whatever port you specified in the stunnel.conf file. If you cannot establish the telnet connection, you should check to make sure the settings in the stunnel.conf file are correct.If you’ve been successful, you can move on to your server configuration.
  40. For Postfix configuration, I’m assuming that you already have a mail server set up. Postfix doesn’t natively support the TLS wrapper mode, so make sure you’ve already set up Stunnel. Open the /etc/postfix/main.cf file and add the lines that you see here. Again, we’re using port 2525 as the Stunnel port, but you’ll have to use whatever port you used in your Stunnel configuration.
  41. Now we’re going to create an encrypted file containing your Amazon SES SMTP credentials. First edit the /etc/postfix/sasl_passwd file. If the file does not exist, create it. Add the following line to the file, replacing USERNAME and PASSWORD with your SMTP user name and password – these are the same credentials I showed you how to create using the SES tab of the AWS Management Console. Save that file.To encrypt the file, type sudopostmap hash:/etc/postfix/sasl_passwd at a command prompt. Then remove the /etc/postfix/sasl_passwd file.Finally, restart postfix by typing the command to restart it at a command prompt. The command might not be exactly the same as this one for your server.You should be able to send email via Amazon SES at this point. If you cannot, you should make sure that port 465 isn’t blocked on your firewall, and you can do that by trying to telnet to email-smtp.us-east-1.amazonaws.com:465.
  42. Next I wanted to talk about the support resources we have available for you. I’ll briefly go through our documentation, our forums, and our extended access form.
  43. We have three different resources in our documentation for you, and you can get to these via the “Documentation” link on the SES home page, which is at aws.amazon.com/ses/.The first is the Amazon Simple Email Service Getting Started Guide. This guide will walk you through the getting started steps that I showed you earlier in this webinar in a little more detail.The second is the Amazon Simple Email Service Developer Guide. This guide gives you all of the detail you will need in order to set up your system to send email through Amazon SES. The third is the Amazon Simple Email Service API Reference. This reference contains all of the Amazon SES API calls, parameters, and data types you can use.
  44. I particularly enjoy the Amazon SES forum, which you can get to via the “Community Forum” link on the SES page or through your management console. Here you’ll find all of our product and feature announcements, but that’s not what I find most interesting. Here is where SES users ask and answer questions about the service. You’ll also find almost every member of the Amazon SES team on here quite often, answering people’s questions.We read every single post on here, whether or not we answer, and we take your questions, concerns, and suggestions very seriously.
  45. The final resource I wanted to discuss was how you increase your sending limits. As I mentioned earlier in the presentation, if you send production email through SES after you gain production access, your quota should naturally increase to meet your business needs. Sometimes, however, there are business events that make natural ramping impractical. To handle those cases please click on the “Request Increased Sending Limits” link in the Management Console.
  46. This will take you to the Amazon SES Extended Access Request Form. We use the information you enter into this form to make sure that you have the quota you need for your business.Please fill out this form completely and let us know why you will need a manual quota increase and to what level. You might have a big launch coming up or your Facebook game is showing the signs of going viral. Please try to give us a good idea of exactly what your quota will need to be so that we can make sure we put you in the correct tier.Note that this request usually takes one business day to process, so you will want to plan ahead. If we require more information in order to process your request, someone will get in touch with you. Please note that we will advise you of your request results in an email that will be sent to the email address associated with that AWS account.
  47. You can always check your quota through the Management Console or through the GetSendStatistics API call. In the Console, you can see your quota, how much of it you have used, and your maximum send rate. When your quota is increased either naturally or via a manual adjustment, you can see it right here.
  48. And that’s using SMTP with Amazon SES. We tried to build the features that we thought you would find most useful, and your initial feedback has been great. If you want to tell us what you think or request any features, please visit our forums and tell us! Your input directly influences our product development – we love our customers and want to make sure that we’re developing features to meet your needs.