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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing MessageDsn as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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)

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

#extension_fieldsArray<Types::ExtensionField>

Additional X-headers to include in the DSN.

Returns:

#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)

    The reporting MTA that attempted to deliver the message, formatted as specified in [RFC 3464][1] (mta-name-type; mta-name).