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
show all
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

Instance Attribute Details

#charsetString

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.

Returns:

  • (String)

    The character set for the content.

#dataString

The content of the message itself.

Returns:

  • (String)

    The content of the message itself.