[][src]Struct rusoto_sesv2::PutEmailIdentityMailFromAttributesRequest

pub struct PutEmailIdentityMailFromAttributesRequest {
    pub behavior_on_mx_failure: Option<String>,
    pub email_identity: String,
    pub mail_from_domain: Option<String>,
}

A request to configure the custom MAIL FROM domain for a verified identity.

Fields

behavior_on_mx_failure: Option<String>

The action that you want to take if the required MX record isn't 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.

email_identity: String

The verified email identity that you want to set up the custom MAIL FROM domain for.

mail_from_domain: Option<String>

The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria:

  • It has to be a subdomain of the verified identity.

  • It can't be used to receive email.

  • It can't be used in a "From" address if the MAIL FROM domain is a destination for feedback forwarding emails.

Trait Implementations

impl Clone for PutEmailIdentityMailFromAttributesRequest[src]

impl Debug for PutEmailIdentityMailFromAttributesRequest[src]

impl Default for PutEmailIdentityMailFromAttributesRequest[src]

impl PartialEq<PutEmailIdentityMailFromAttributesRequest> for PutEmailIdentityMailFromAttributesRequest[src]

impl Serialize for PutEmailIdentityMailFromAttributesRequest[src]

impl StructuralPartialEq for PutEmailIdentityMailFromAttributesRequest[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.