Class: Aws::SES::Types::Message

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

Overview

Note:

When making an API call, you may pass Message data as a hash:

{
  subject: { # required
    data: "MessageData", # required
    charset: "Charset",
  },
  body: { # required
    text: {
      data: "MessageData", # required
      charset: "Charset",
    },
    html: {
      data: "MessageData", # required
      charset: "Charset",
    },
  },
}

Represents the message to be sent, composed of a subject and a body.

Instance Attribute Summary collapse

Instance Attribute Details

#bodyTypes::Body

The message body.

Returns:



2797
2798
2799
2800
2801
# File 'lib/aws-sdk-ses/types.rb', line 2797

class Message < Struct.new(
  :subject,
  :body)
  include Aws::Structure
end

#subjectTypes::Content

The subject of the message: A short summary of the content, which will appear in the recipient’s inbox.

Returns:



2797
2798
2799
2800
2801
# File 'lib/aws-sdk-ses/types.rb', line 2797

class Message < Struct.new(
  :subject,
  :body)
  include Aws::Structure
end