You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SESV2::Types::Body
- Inherits:
-
Struct
- Object
- Struct
- Aws::SESV2::Types::Body
- Defined in:
- (unknown)
Overview
When passing Body as input to an Aws::Client method, you can use a vanilla Hash:
{
text: {
data: "MessageData", # required
charset: "Charset",
},
html: {
data: "MessageData", # required
charset: "Charset",
},
}
Represents the body of the email message.
Returned by:
Instance Attribute Summary collapse
-
#html ⇒ Types::Content
An object that represents the version of the message that is displayed in email clients that support HTML.
-
#text ⇒ Types::Content
An object that represents the version of the message that is displayed in email clients that don\'t support HTML, or clients where the recipient has disabled HTML rendering.
Instance Attribute Details
#html ⇒ Types::Content
An object that represents the version of the message that is displayed in email clients that support HTML. HTML messages can include formatted text, hyperlinks, images, and more.
#text ⇒ Types::Content
An object that represents the version of the message that is displayed in email clients that don\'t support HTML, or clients where the recipient has disabled HTML rendering.