You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing SimpleEmail as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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.

Returns:

#subjectTypes::SimpleEmailPart

The subject line, or title, of the email.

Returns:

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

Returns: