Class: Aws::Pinpoint::Types::SimpleEmail

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

Overview

Note:

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

{
  html_part: {
    charset: "__string",
    data: "__string",
  },
  subject: {
    charset: "__string",
    data: "__string",
  },
  text_part: {
    charset: "__string",
    data: "__string",
  },
}

An email composed of a subject, a text part and a html part.

Instance Attribute Summary collapse

Instance Attribute Details

#html_partTypes::SimpleEmailPart

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.



9227
9228
9229
9230
9231
9232
# File 'lib/aws-sdk-pinpoint/types.rb', line 9227

class SimpleEmail < Struct.new(
  :html_part,
  :subject,
  :text_part)
  include Aws::Structure
end

#subjectTypes::SimpleEmailPart

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



9227
9228
9229
9230
9231
9232
# File 'lib/aws-sdk-pinpoint/types.rb', line 9227

class SimpleEmail < Struct.new(
  :html_part,
  :subject,
  :text_part)
  include Aws::Structure
end

#text_partTypes::SimpleEmailPart

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).



9227
9228
9229
9230
9231
9232
# File 'lib/aws-sdk-pinpoint/types.rb', line 9227

class SimpleEmail < Struct.new(
  :html_part,
  :subject,
  :text_part)
  include Aws::Structure
end