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

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

Overview

Note:

When making an API call, you may pass EmailTemplateContent data as a 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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#htmlString

The HTML body of the email.

Returns:

  • (String)


2216
2217
2218
2219
2220
2221
2222
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 2216

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

#subjectString

The subject line of the email.

Returns:

  • (String)


2216
2217
2218
2219
2220
2221
2222
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 2216

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)


2216
2217
2218
2219
2220
2221
2222
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 2216

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