Class: Aws::SES::Types::MessageDsn

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-ses/types.rb

Overview

Note:

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

Instance Attribute Details

#arrival_dateTime

When the message was received by the reporting mail transfer agent (MTA), in [RFC 822] date-time format.

[1]: www.ietf.org/rfc/rfc0822.txt

Returns:

  • (Time)


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_fieldsArray<Types::ExtensionField>

Additional X-headers to include in the DSN.

Returns:



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_mtaString

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`.

[1]: tools.ietf.org/html/rfc3464

Returns:

  • (String)


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