RecipientDsnFields
import type { RecipientDsnFields } from "https://aws-api.deno.dev/v0.3/services/ses.ts?docs=full";
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.
interface RecipientDsnFields {
Action: DsnAction;
DiagnosticCode?: string | null;
ExtensionFields?: ExtensionField[] | null;
FinalRecipient?: string | null;
LastAttemptDate?: Date | number | null;
RemoteMta?: string | null;
Status: string;
}§Properties
§
ExtensionFields?: ExtensionField[] | null
[src]Additional X-headers to include in the DSN.
§
FinalRecipient?: string | null
[src]The email address that the message was ultimately delivered to.
This corresponds to the Final-Recipient
in the DSN.
If not specified, FinalRecipient
will be 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.
Note:
Do not prepend the FinalRecipient
email address with rfc 822;
, as described in RFC 3798.