class Aws::PinpointEmail::Types::Message
Represents the email message that you're sending. The `Message` object consists of a subject line and a message body.
@note When making an API call, you may pass Message
data as a hash: { subject: { # required data: "MessageData", # required charset: "Charset", }, body: { # required text: { data: "MessageData", # required charset: "Charset", }, html: { data: "MessageData", # required charset: "Charset", }, }, }
@!attribute [rw] 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][1]. [1]: https://tools.ietf.org/html/rfc2047 @return [Types::Content]
@!attribute [rw] body
The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both. @return [Types::Body]
@see docs.aws.amazon.com/goto/WebAPI/pinpoint-email-2018-07-26/Message AWS API Documentation
Constants
- SENSITIVE