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 |
Synopsis
Documentation
data MessageDsn Source #
Message-related information to include in the Delivery Status Notification (DSN) when an email that Amazon SES receives on your behalf bounces.
For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.
See: newMessageDsn
smart constructor.
MessageDsn' | |
|
Instances
Create a value of MessageDsn
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:arrivalDate:MessageDsn'
, messageDsn_arrivalDate
- When the message was received by the reporting mail transfer agent
(MTA), in RFC 822 date-time
format.
$sel:extensionFields:MessageDsn'
, messageDsn_extensionFields
- Additional X-headers to include in the DSN.
$sel:reportingMta:MessageDsn'
, messageDsn_reportingMta
- The reporting MTA that attempted to deliver the message, formatted as
specified in RFC 3464
(mta-name-type; mta-name
). The default value is
dns; inbound-smtp.[region].amazonaws.com
.
messageDsn_arrivalDate :: Lens' MessageDsn (Maybe UTCTime) Source #
When the message was received by the reporting mail transfer agent (MTA), in RFC 822 date-time format.
messageDsn_extensionFields :: Lens' MessageDsn (Maybe [ExtensionField]) Source #
Additional X-headers to include in the DSN.
messageDsn_reportingMta :: Lens' MessageDsn Text Source #
The reporting MTA that attempted to deliver the message, formatted as
specified in RFC 3464
(mta-name-type; mta-name
). The default value is
dns; inbound-smtp.[region].amazonaws.com
.