Class: Aws::SESV2::Types::Message

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

Overview

Represents the email message that you’re sending. The ‘Message` object consists of a subject line and a message body.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyTypes::Body

The body of the message. You can specify an HTML version of the message, a text-only version of the message, or both.

Returns:



5382
5383
5384
5385
5386
5387
5388
# File 'lib/aws-sdk-sesv2/types.rb', line 5382

class Message < Struct.new(
  :subject,
  :body,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end

#headersArray<Types::MessageHeader>

The list of message headers that will be added to the email message.

Returns:



5382
5383
5384
5385
5386
5387
5388
# File 'lib/aws-sdk-sesv2/types.rb', line 5382

class Message < Struct.new(
  :subject,
  :body,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end

#subjectTypes::Content

The subject line of the email. The subject line can only contain 7-bit ASCII characters. However, you can specify non-ASCII characters in the subject line by using encoded-word syntax, as described in [RFC 2047].

[1]: tools.ietf.org/html/rfc2047

Returns:



5382
5383
5384
5385
5386
5387
5388
# File 'lib/aws-sdk-sesv2/types.rb', line 5382

class Message < Struct.new(
  :subject,
  :body,
  :headers)
  SENSITIVE = []
  include Aws::Structure
end