Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
ToQuery Body Source # | |
Defined in Amazonka.SES.Types.Body toQuery :: Body -> QueryString # | |
Generic Body Source # | |
Read Body Source # | |
Show Body Source # | |
NFData Body Source # | |
Defined in Amazonka.SES.Types.Body | |
Eq Body Source # | |
Hashable Body Source # | |
Defined in Amazonka.SES.Types.Body | |
type Rep Body Source # | |
Defined in Amazonka.SES.Types.Body type Rep Body = D1 ('MetaData "Body" "Amazonka.SES.Types.Body" "amazonka-ses-2.0-Gc6VkOIX7Sd2eunWehphuf" 'False) (C1 ('MetaCons "Body'" 'PrefixI 'True) (S1 ('MetaSel ('Just "html") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Content)) :*: S1 ('MetaSel ('Just "text") '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: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.
$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).