Message - Amazon Simple Email Service
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Message

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: