You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SESV2::Types::EmailTemplateContent

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing EmailTemplateContent as input to an Aws::Client method, you can use a vanilla Hash:

{
  subject: "EmailTemplateSubject",
  text: "EmailTemplateText",
  html: "EmailTemplateHtml",
}

The content of the email, composed of a subject line, an HTML part, and a text-only part.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#htmlString

The HTML body of the email.

Returns:

  • (String)

    The HTML body of the email.

#subjectString

The subject line of the email.

Returns:

  • (String)

    The subject line of the email.

#textString

The email body that will be visible to recipients whose email clients do not display HTML.

Returns:

  • (String)

    The email body that will be visible to recipients whose email clients do not display HTML.