Menu
Amazon Simple Email Service
Developer Guide (API Version 2010-12-01)

Step 6: Send Emails

For Amazon SES to publish events associated with an email, you must specify a configuration set when you send the email. You can also include message tags to categorize the email. This section shows how to send a simple email that specifies a configuration set and message tags using the Amazon SES console. You send the email to the Amazon SES mailbox simulator so that you can test bounces, complaints, and other email sending outcomes.

To send an email using the Amazon SES console

  1. Sign in to the AWS Management Console and open the Amazon SES console at https://console.aws.amazon.com/ses/.

  2. In the navigation pane of the Amazon SES console, under Identity Management, choose Email Addresses.

  3. In the list of identities, select the check box of an email address that you have successfully verified with Amazon SES.

  4. Choose Send a Test Email.

  5. In the Send Test Email dialog box, for Email Format, choose Raw.

  6. For the To address, type an address from the Amazon SES mailbox simulator, such as complaint@simulator.amazonses.com or bounce@simulator.amazonses.com.

  7. Copy and paste the following message in its entirety into the Message text box, replacing CONFIGURATION-SET-NAME with the name of the configuration set you created in Step 5: Set up a Configuration Set, and replacing FROM-ADDRESS with the verified address you are sending this email from.

    Copy
    X-SES-MESSAGE-TAGS: campaign=book X-SES-CONFIGURATION-SET: CONFIGURATION-SET-NAME Subject: Amazon SES Event Publishing Test From: Amazon SES User <FROM-ADDRESS> MIME-Version: 1.0 Content-Type: text/plain This is a test message.
  8. Choose Send Test Email.

  9. Repeat this procedure a few times so that you generate multiple email sending events. For a few of the emails, change the value of the campaign message tag to clothing to simulate sending for a different email campaign. That way, when you query your Amazon Redshift database for email sending event records in the last step of this tutorial, you can experiment with querying based on email campaign.

Next Step

Step 7: Query Email Sending Events

On this page: