You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ses/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.

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.

Returns:

  • (Time)


2230
2231
2232
2233
2234
2235
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 2230

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:



2230
2231
2232
2233
2234
2235
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 2230

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.[region].amazonaws.com.

Returns:

  • (String)


2230
2231
2232
2233
2234
2235
# File 'gems/aws-sdk-ses/lib/aws-sdk-ses/types.rb', line 2230

class MessageDsn < Struct.new(
  :reporting_mta,
  :arrival_date,
  :extension_fields)
  include Aws::Structure
end