MailFromBehaviorOnMxFailure

class aws_cdk.aws_ses.MailFromBehaviorOnMxFailure(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The action to take if the required MX record for the MAIL FROM domain isn’t found.

Attributes

REJECT_MESSAGE

The Amazon SES API v2 returns a MailFromDomainNotVerified error and doesn’t attempt to deliver the email.

USE_DEFAULT_VALUE

The mail is sent using amazonses.com as the MAIL FROM domain.