Struct rusoto_ses::IdentityMailFromDomainAttributes
[−]
[src]
pub struct IdentityMailFromDomainAttributes { pub behavior_on_mx_failure: String, pub mail_from_domain: String, pub mail_from_domain_status: String, }
Represents the custom MAIL FROM domain attributes of a verified identity (email address or domain).
Fields
behavior_on_mx_failure: String
The action that Amazon SES takes if it cannot successfully read the required MX record when you send an email. A value of UseDefaultValue
indicates that if Amazon SES cannot read the required MX record, it uses amazonses.com (or a subdomain of that) as the MAIL FROM domain. A value of RejectMessage
indicates that if Amazon SES cannot read the required MX record, Amazon SES returns a MailFromDomainNotVerified
error and does not send the email.
The custom MAIL FROM setup states that result in this behavior are Pending
, Failed
, and TemporaryFailure
.
mail_from_domain: String
The custom MAIL FROM domain that the identity is configured to use.
mail_from_domain_status: String
The state that indicates whether Amazon SES has successfully read the MX record required for custom MAIL FROM domain setup. If the state is Success
, Amazon SES uses the specified custom MAIL FROM domain when the verified identity sends an email. All other states indicate that Amazon SES takes the action described by BehaviorOnMXFailure
.
Trait Implementations
impl Default for IdentityMailFromDomainAttributes
[src]
fn default() -> IdentityMailFromDomainAttributes
[src]
Returns the "default value" for a type. Read more
impl Debug for IdentityMailFromDomainAttributes
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for IdentityMailFromDomainAttributes
[src]
fn clone(&self) -> IdentityMailFromDomainAttributes
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more