AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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
show all
Defined in:
(unknown)

Overview

Note:

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

Instance Attribute Details

#htmlTypes::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.

Returns:

  • (Types::Content)

    An object that represents the version of the message that is displayed in email clients that support HTML.

#textTypes::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.

Returns:

  • (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.