![]() |
![]()
| ![]() |
![]()
NAMEPaws::SESv2::PutEmailIdentityMailFromAttributes - Arguments for method PutEmailIdentityMailFromAttributes on Paws::SESv2 DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESBehaviorOnMxFailure => StrThe 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 => StrThe verified email identity that you want to set up the custom MAIL FROM domain for. MailFromDomain => StrThe custom MAIL FROM domain that you want the verified identity to use. The MAIL FROM domain must meet the following criteria:
SEE ALSOThis class forms part of Paws, documenting arguments for method PutEmailIdentityMailFromAttributes in Paws::SESv2 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>
|