You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::Pinpoint::Types::SimpleEmail
- Inherits:
-
Struct
- Object
- Struct
- Aws::Pinpoint::Types::SimpleEmail
- Defined in:
- (unknown)
Overview
When passing SimpleEmail as input to an Aws::Client method, you can use a vanilla Hash:
{
html_part: {
charset: "__string",
data: "__string",
},
subject: {
charset: "__string",
data: "__string",
},
text_part: {
charset: "__string",
data: "__string",
},
}
Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.
Returned by:
Instance Attribute Summary collapse
-
#html_part ⇒ Types::SimpleEmailPart
The body of the email message, in HTML format.
-
#subject ⇒ Types::SimpleEmailPart
The subject line, or title, of the email.
-
#text_part ⇒ Types::SimpleEmailPart
The body of the email message, in plain text format.
Instance Attribute Details
#html_part ⇒ Types::SimpleEmailPart
The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.
#subject ⇒ Types::SimpleEmailPart
The subject line, or title, of the email.
#text_part ⇒ Types::SimpleEmailPart
The body of the email message, in plain text format. We recommend using plain text format for email clients that don\'t render HTML content and clients that are connected to high-latency networks, such as mobile devices.