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",
  },
}

Specifies the contents of an email message, composed of a subject, a text part, and an HTML part.

Instance Attribute Summary collapse

Instance Attribute Details

#html_partTypes::SimpleEmailPart

The body of the email message, in HTML format. We recommend using HTML format for email clients that render HTML content. You can include links, formatted text, and more in an HTML message.



14538
14539
14540
14541
14542
14543
# File 'lib/aws-sdk-pinpoint/types.rb', line 14538

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

#subjectTypes::SimpleEmailPart

The subject line, or title, of the email.



14538
14539
14540
14541
14542
14543
# File 'lib/aws-sdk-pinpoint/types.rb', line 14538

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

#text_partTypes::SimpleEmailPart

The body of the email message, in plain text format. We recommend using plain text format for email clients that don’t render HTML content and clients that are connected to high-latency networks, such as mobile devices.



14538
14539
14540
14541
14542
14543
# File 'lib/aws-sdk-pinpoint/types.rb', line 14538

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