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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-pinpoint/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.

Constant Summary collapse

SENSITIVE =
[]

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.



15655
15656
15657
15658
15659
15660
15661
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15655

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

#subjectTypes::SimpleEmailPart

The subject line, or title, of the email.



15655
15656
15657
15658
15659
15660
15661
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15655

class SimpleEmail < Struct.new(
  :html_part,
  :subject,
  :text_part)
  SENSITIVE = []
  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.



15655
15656
15657
15658
15659
15660
15661
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 15655

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