NAME
Paws::SESv2::PutEmailIdentityMailFromAttributes - Arguments for method PutEmailIdentityMailFromAttributes on Paws::SESv2
DESCRIPTION
This class represents the parameters used for calling the method PutEmailIdentityMailFromAttributes on the Amazon Simple Email Service service. Use the attributes of this class as arguments to method PutEmailIdentityMailFromAttributes.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutEmailIdentityMailFromAttributes.
SYNOPSIS
my $email = Paws->service('SESv2');
my $PutEmailIdentityMailFromAttributesResponse =
$email->PutEmailIdentityMailFromAttributes(
EmailIdentity => 'MyIdentity',
BehaviorOnMxFailure => 'USE_DEFAULT_VALUE', # OPTIONAL
MailFromDomain => 'MyMailFromDomainName', # OPTIONAL
);
Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/email/PutEmailIdentityMailFromAttributes
ATTRIBUTES
BehaviorOnMxFailure => Str
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.
Valid values are: "USE_DEFAULT_VALUE"
, "REJECT_MESSAGE"
REQUIRED EmailIdentity => Str
The verified email identity that you want to set up the custom MAIL FROM domain for.
MailFromDomain => Str
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.
SEE ALSO
This class forms part of Paws, documenting arguments for method PutEmailIdentityMailFromAttributes in Paws::SESv2
BUGS and CONTRIBUTIONS
The source code is located here: https://github.com/pplu/aws-sdk-perl
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues