Enum aws_sdk_sesv2::model::BehaviorOnMxFailure
source ·
[−]#[non_exhaustive]
pub enum BehaviorOnMxFailure {
RejectMessage,
UseDefaultValue,
Unknown(String),
}
Expand description
The action to take if the required MX record can't be found when you send an email.
When you set this value to UseDefaultValue
, the mail is sent using
amazonses.com as the MAIL FROM domain. When you set this value
to RejectMessage
, the Amazon SES API v2 returns a
MailFromDomainNotVerified
error, and doesn't attempt to deliver the
email.
These behaviors are taken when the custom MAIL FROM domain configuration is in the
Pending
, Failed
, and TemporaryFailure
states.
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
RejectMessage
UseDefaultValue
Unknown(String)
Tuple Fields
0: String
Unknown contains new variants that have been added since this code was generated.
Implementations
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for BehaviorOnMxFailure
impl Send for BehaviorOnMxFailure
impl Sync for BehaviorOnMxFailure
impl Unpin for BehaviorOnMxFailure
impl UnwindSafe for BehaviorOnMxFailure
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more