Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Documentation
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.
See: newBody
smart constructor.
Body' | |
|
Instances
Eq Body Source # | |
Read Body Source # | |
Show Body Source # | |
Generic Body Source # | |
NFData Body Source # | |
Defined in Amazonka.SES.Types.Body | |
Hashable Body Source # | |
Defined in Amazonka.SES.Types.Body | |
ToQuery Body Source # | |
Defined in Amazonka.SES.Types.Body toQuery :: Body -> QueryString # | |
type Rep Body Source # | |
Defined in Amazonka.SES.Types.Body type Rep Body = D1 ('MetaData "Body" "Amazonka.SES.Types.Body" "libZSservicesZSamazonka-sesZSamazonka-ses" 'False) (C1 ('MetaCons "Body'" 'PrefixI 'True) (S1 ('MetaSel ('Just "text") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Content)) :*: S1 ('MetaSel ('Just "html") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Content)))) |
Create a value of Body
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:text:Body'
, body_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).
$sel:html:Body'
, body_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.