Message - Amazon Simple Email Service

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

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: