AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.SimpleEmail.Model.RecipientDsnFields

Namespace: Amazon.SimpleEmail.Model
Assembly: AWSSDK.SimpleEmail.dll
Version: 3.x.y.z

Syntax

C#
public class RecipientDsnFields

The RecipientDsnFields type exposes the following members

Constructors

NameDescription
Public Method RecipientDsnFields()

Properties

NameTypeDescription
Public Property Action Amazon.SimpleEmail.DsnAction

Gets and sets the property Action.

The action performed by the reporting mail transfer agent (MTA) as a result of its attempt to deliver the message to the recipient address. This is required by RFC 3464.

Public Property DiagnosticCode System.String

Gets and sets the property DiagnosticCode.

An extended explanation of what went wrong; this is usually an SMTP response. See RFC 3463 for the correct formatting of this parameter.

Public Property ExtensionFields System.Collections.Generic.List<Amazon.SimpleEmail.Model.ExtensionField>

Gets and sets the property ExtensionFields.

Additional X-headers to include in the DSN.

Public Property FinalRecipient System.String

Gets and sets the property FinalRecipient.

The email address that the message was ultimately delivered to. This corresponds to the Final-Recipient in the DSN. If not specified, FinalRecipient is set to the Recipient specified in the BouncedRecipientInfo structure. Either FinalRecipient or the recipient in BouncedRecipientInfo must be a recipient of the original bounced message.

Do not prepend the FinalRecipient email address with rfc 822;, as described in RFC 3798.

Public Property LastAttemptDate System.DateTime

Gets and sets the property LastAttemptDateUtc.

This property is deprecated. Setting this property results in non-UTC DateTimes not being marshalled correctly. Use LastAttemptDateUtc instead. Setting either LastAttemptDate or LastAttemptDateUtc results in both LastAttemptDate and LastAttemptDateUtc being assigned, the latest assignment to either one of the two property is reflected in the value of both. LastAttemptDate is provided for backwards compatibility only and assigning a non-Utc DateTime to it results in the wrong timestamp being passed to the service.

The time the final delivery attempt was made, in RFC 822 date-time format.

Public Property LastAttemptDateUtc System.DateTime

Gets and sets the property LastAttemptDateUtc.

The time the final delivery attempt was made, in RFC 822 date-time format.

Public Property RemoteMta System.String

Gets and sets the property RemoteMta.

The MTA to which the remote MTA attempted to deliver the message, formatted as specified in RFC 3464 (mta-name-type; mta-name). This parameter typically applies only to propagating synchronous bounces.

Public Property Status System.String

Gets and sets the property Status.

The status code that indicates what went wrong. This is required by RFC 3464.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5