Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Message

Focus mode
Message - Amazon Simple Email Service

Represents the email message that you're sending. The Message object consists of a subject line and a message body.

Contents

Body

The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.

Type: Body object

Required: Yes

Subject

The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in RFC 2047.

Type: Content object

Required: Yes

Attachments

The List of attachments to include in your email. All recipients will receive the same attachments.

Type: Array of Attachment objects

Required: No

Headers

The list of message headers that will be added to the email message.

Type: Array of MessageHeader objects

Array Members: Minimum number of 0 items. Maximum number of 15 items.

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.