Menu
Amazon Simple Email Service
Developer Guide

Specifying a Configuration Set When You Send Email

To use a configuration set when sending an email, you must pass the name of the configuration set in the headers of the email. All of the Amazon SES email sending methods—including the AWS CLI, the AWS SDKs, and the Amazon SES SMTP interface—allow you to pass a configuration set in the headers of the email you send.

If you are using the SMTP interface or the SendRawEmail API operation, you can specify a configuration set by including the following header in your email (replacing ConfigSet with the name of the configuration set you want to use):

Copy
X-SES-CONFIGURATION-SET: ConfigSet

This guide includes code examples for sending email using Postfix, the AWS SDKs, and the Amazon SES SMTP interface. Each of these examples includes a method of specifying a configuration set. To see step-by-step procedures for sending emails that include references to configuration sets, see the following:

You can find additional code examples in the Amazon SES Code Examples section.