Class: Aws::SESV2::Types::Content

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

Overview

An object that represents the content of the email, and optionally a character set specification.

Constant Summary collapse

SENSITIVE =
[]

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)


655
656
657
658
659
660
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 655

class Content < Struct.new(
  :data,
  :charset)
  SENSITIVE = []
  include Aws::Structure
end

#dataString

The content of the message itself.

Returns:

  • (String)


655
656
657
658
659
660
# File 'gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/types.rb', line 655

class Content < Struct.new(
  :data,
  :charset)
  SENSITIVE = []
  include Aws::Structure
end