- SEE ALSO
- BUGS and CONTRIBUTIONS
Paws::SES::SetIdentityMailFromDomain - Arguments for method SetIdentityMailFromDomain on Paws::SES
This class represents the parameters used for calling the method SetIdentityMailFromDomain on the Amazon Simple Email Service service. Use the attributes of this class as arguments to method SetIdentityMailFromDomain.
You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to SetIdentityMailFromDomain.
my $email = Paws->service('SES'); # SetIdentityMailFromDomain # The following example configures Amazon SES to use a custom MAIL FROM # domain for an identity: my $SetIdentityMailFromDomainResponse = $email->SetIdentityMailFromDomain( 'BehaviorOnMXFailure' => 'UseDefaultValue', 'Identity' => 'firstname.lastname@example.org', 'MailFromDomain' => 'bounces.example.com' );
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/SetIdentityMailFromDomain
The action that you want Amazon SES to take if it cannot successfully read the required MX record when you send an email. If you choose
UseDefaultValue, Amazon SES will use amazonses.com (or a subdomain of that) as the MAIL FROM domain. If you choose
RejectMessage, Amazon SES will return a
MailFromDomainNotVerified error and not send the email.
The action specified in
BehaviorOnMXFailure is taken when the custom MAIL FROM domain setup is in the
Valid values are:
The verified identity for which you want to enable or disable the specified custom MAIL FROM domain.
The custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must 1) be a subdomain of the verified identity, 2) not be used in a "From" address if the MAIL FROM domain is the destination of email feedback forwarding (for more information, see the Amazon SES Developer Guide (http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from.html)), and 3) not be used to receive emails. A value of
null disables the custom MAIL FROM setting for the identity.
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