Amazon Simple Email Service
Developer Guide

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

Integrating Amazon SES with Microsoft Exchange

You can configure Microsoft Exchange to send email through Amazon SES. The following procedures show you how to integrate Microsoft Exchange with Amazon SES using the Microsoft Exchange GUI or Windows PowerShell.

Note

Microsoft Exchange is a third-party application, and isn't developed or supported by Amazon Web Services. The procedures in this section are provided for informational purposes only, and are subject to change without notice.

These instructions were written using Microsoft Exchange 2013.

Important

Follow only one of the following procedures (Microsoft Exchange GUI or Windows PowerShell). If you follow both procedures, you will get an error stating that you have two send connectors with the same name.

To integrate Microsoft Exchange with Amazon SES using the Microsoft Exchange GUI

  1. Go to the Microsoft Exchange admin center (typically https://<CASServerName>/ecp) and sign in as a user who is part of the Exchange administrators group.

  2. From the left menu, choose mail flow.

    
                    Choose mail flow
  3. Choose send connectors.

    
                    Choose send connectors
  4. Choose the plus sign.

  5. Enter a name for the send connector (for example, SES).

  6. Under Type, select Internet.

    
                    New send connector
  7. Choose Next.

  8. Select Route mail through smart hosts.

    
                    Route mail through smart hosts
  9. Choose the plus sign and then enter the Amazon SES endpoint that you will use (for example, email-smtp.us-west-2.amazonaws.com). For a list of endpoint URLs for the AWS Regions where Amazon SES is available, see Amazon Simple Email Service (Amazon SES) in the AWS General Reference.

  10. Choose Save. The endpoint you entered will appear in the SMART HOST box.

  11. Choose Next.

  12. Select Basic authentication, then select Offer basic authentication only after starting TLS, and then enter your Amazon SES SMTP user name and password.

    Important

    Your SMTP user name and password are not the same as your AWS access key ID and secret access key. Do not attempt to use your AWS credentials to authenticate yourself against the SMTP endpoint. For more information about credentials, see Using Credentials With Amazon SES.

    
                    Enter SMTP credentials
  13. Choose Next.

  14. Choose the plus sign.

  15. Verify that Type is SMTP, FQDN is *, and Cost is 1.

    
                    Add address space
  16. Choose Save and then choose Next.

  17. Choose the plus sign.

  18. Select all transport servers you would like to apply this rule to and choose Add. When you have added all the servers you want to send email through Amazon SES, choose ok.

    
                    Add transport servers
  19. Verify that the servers are added and then choose finish.

    
                    Verify servers

    You should now see a send connector for Amazon SES with an enabled status. All outbound mail will now flow through Amazon SES.

    
                    Send connector enabled

To integrate Microsoft Exchange with Amazon SES using Windows PowerShell

  1. Open the Exchange Management Shell and type $creds = Get-Credential. A Windows PowerShell Credential Request dialog box will appear.

  2. In the dialog box, enter your Amazon SES SMTP user name and password and then choose OK.

    Important

    Your SMTP user name and password are not the same as your AWS access key ID and secret access key. Do not attempt to use your AWS credentials to authenticate yourself against the SMTP endpoint. For more information about credentials, see Using Credentials With Amazon SES.

  3. At the command prompt, type the following line, replacing ENDPOINT with an Amazon SES SMTP endpoint (for example, email-smtp.us-west-2.amazonaws.com). For a list of endpoint URLs for the AWS Regions where Amazon SES is available, see Amazon Simple Email Service (Amazon SES) in the AWS General Reference.

    New-SendConnector -Name "SES" -AddressSpaces "*;1" -SmartHosts "ENDPOINT" -SmartHostAuthMechanism BasicAuthRequireTLS -Usage Internet -AuthenticationCredential $creds

    The command line should now display a send connector for Amazon SES with an enabled status. All outbound mail will now flow through Amazon SES.

    
                    Send connector enabled