![]() |
![]()
| ![]() |
![]()
NAMEPaws::SES::SetIdentityMailFromDomain - Arguments for method SetIdentityMailFromDomain on Paws::SES DESCRIPTIONThis 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. SYNOPSISmy $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' => 'user@example.com', '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> ATTRIBUTESBehaviorOnMXFailure => StrThe 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 "Pending", "Failed", and "TemporaryFailure" states. Valid values are: "UseDefaultValue", "RejectMessage" REQUIRED Identity => StrThe verified identity for which you want to enable or disable the specified custom MAIL FROM domain. MailFromDomain => StrThe 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 (https://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. SEE ALSOThis class forms part of Paws, documenting arguments for method SetIdentityMailFromDomain in Paws::SES BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|