Class: Aws::SES::Types::MessageDsn
- Inherits:
-
Struct
- Object
- Struct
- Aws::SES::Types::MessageDsn
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-ses/types.rb
Overview
When making an API call, you may pass MessageDsn data as a hash:
{
reporting_mta: "ReportingMta", # required
arrival_date: Time.now,
extension_fields: [
{
name: "ExtensionFieldName", # required
value: "ExtensionFieldValue", # required
},
],
}
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].
[1]: docs.aws.amazon.com/ses/latest/DeveloperGuide/receiving-email.html
Instance Attribute Summary collapse
-
#arrival_date ⇒ Time
When the message was received by the reporting mail transfer agent (MTA), in [RFC 822] date-time format.
-
#extension_fields ⇒ Array<Types::ExtensionField>
Additional X-headers to include in the DSN.
-
#reporting_mta ⇒ String
The reporting MTA that attempted to deliver the message, formatted as specified in [RFC 3464] (‘mta-name-type; mta-name`).
Instance Attribute Details
#arrival_date ⇒ Time
When the message was received by the reporting mail transfer agent (MTA), in [RFC 822] date-time format.
2853 2854 2855 2856 2857 2858 |
# File 'lib/aws-sdk-ses/types.rb', line 2853 class MessageDsn < Struct.new( :reporting_mta, :arrival_date, :extension_fields) include Aws::Structure end |
#extension_fields ⇒ Array<Types::ExtensionField>
Additional X-headers to include in the DSN.
2853 2854 2855 2856 2857 2858 |
# File 'lib/aws-sdk-ses/types.rb', line 2853 class MessageDsn < Struct.new( :reporting_mta, :arrival_date, :extension_fields) include Aws::Structure end |
#reporting_mta ⇒ String
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..amazonaws.com`.
2853 2854 2855 2856 2857 2858 |
# File 'lib/aws-sdk-ses/types.rb', line 2853 class MessageDsn < Struct.new( :reporting_mta, :arrival_date, :extension_fields) include Aws::Structure end |