You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SES::Types::Body
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::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 message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.
Returned by:
Instance Attribute Summary collapse
-
#html ⇒ Types::Content
The content of the message, in HTML format.
-
#text ⇒ Types::Content
The content of the message, in text format.
Instance Attribute Details
#html ⇒ Types::Content
The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.
#text ⇒ Types::Content
The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).