Class: Aws::SES::Types::Body

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

Overview

Represents the body of the message. You can specify text, HTML, or both. If you use both, then the message should display correctly in the widest variety of email clients.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#htmlTypes::Content

The content of the message, in HTML format. Use this for email clients that can process HTML. You can include clickable links, formatted text, and much more in an HTML message.

Returns:



88
89
90
91
92
93
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 88

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

#textTypes::Content

The content of the message, in text format. Use this for text-based email clients, or clients on high-latency networks (such as mobile devices).

Returns:



88
89
90
91
92
93
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 88

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