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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sesv2/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#htmlString

The HTML body of the email.

Returns:

  • (String)


2165
2166
2167
2168
2169
2170
2171
# File 'lib/aws-sdk-sesv2/types.rb', line 2165

class EmailTemplateContent < Struct.new(
  :subject,
  :text,
  :html)
  SENSITIVE = []
  include Aws::Structure
end

#subjectString

The subject line of the email.

Returns:

  • (String)


2165
2166
2167
2168
2169
2170
2171
# File 'lib/aws-sdk-sesv2/types.rb', line 2165

class EmailTemplateContent < Struct.new(
  :subject,
  :text,
  :html)
  SENSITIVE = []
  include Aws::Structure
end

#textString

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

Returns:

  • (String)


2165
2166
2167
2168
2169
2170
2171
# File 'lib/aws-sdk-sesv2/types.rb', line 2165

class EmailTemplateContent < Struct.new(
  :subject,
  :text,
  :html)
  SENSITIVE = []
  include Aws::Structure
end