Skip to main content

ISESV2MailFromAttributes

Interface in AWS.SESV2

Interface for MailFromAttributes.

Properties

BehaviourOnMxFailure

property BehaviourOnMxFailure: string

Specifies what action is to be taken if the required MX record can't be found when sending an email.

Valid values: USE_DEFAULT_VALUE | REJECT_MESSAGE. When this value is USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When set to REJECT_MESSAGE, a ESESV2MailFromDomainNotVerifiedException will be raised and a delivery attempt will not be made. These behaviours are taken when the MailFromDomainStatus is in the PENDING, FAILED, and TEMPORARY_FAILURE states.

MailFromDomain

property MailFromDomain: string

Specifies the name of a domain that an email identity uses as a custom MAIL FROM domain.

MailFromDomainStatus

property MailFromDomainStatus: string

Specifies the status of the MAIL FROM domain.

Valid values: - PENDING - Amazon SES hasn't started searching for the MX record yet. - SUCCESS - Amazon SES detected the required MX record for the MAIL FROM domain. - FAILED - Amazon SES can't find the required MX record, or the record no longer exists. - TEMPORARY_FAILURE - A temporary issue occurred, which has prevented Amazon SES from determining the status of the MAIL FROM domain.