You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::SESV2::Types::Content
- Inherits:
-
Struct
- Object
- Struct
- Aws::SESV2::Types::Content
- Defined in:
- (unknown)
Overview
Note:
When passing Content as input to an Aws::Client method, you can use a vanilla Hash:
{
data: "MessageData", # required
charset: "Charset",
}
An object that represents the content of the email, and optionally a character set specification.
Returned by:
Instance Attribute Summary collapse
-
#charset ⇒ String
The character set for the content.
-
#data ⇒ String
The content of the message itself.
Instance Attribute Details
#charset ⇒ String
The character set for the content. Because of the constraints of the
SMTP protocol, Amazon SES uses 7-bit ASCII by default. If the text
includes characters outside of the ASCII range, you have to specify a
character set. For example, you could specify UTF-8
, ISO-8859-1
, or
Shift_JIS
.
#data ⇒ String
The content of the message itself.