class Aws::SES::Types::Body

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.

@note When making an API call, you may pass Body

data as a hash:

    {
      text: {
        data: "MessageData", # required
        charset: "Charset",
      },
      html: {
        data: "MessageData", # required
        charset: "Charset",
      },
    }

@!attribute [rw] text

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).
@return [Types::Content]

@!attribute [rw] html

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.
@return [Types::Content]

@see docs.aws.amazon.com/goto/WebAPI/email-2010-12-01/Body AWS API Documentation

Constants

SENSITIVE