GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Paws::SES::SetIdentityMailFromDomain(3) User Contributed Perl Documentation Paws::SES::SetIdentityMailFromDomain(3)

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'            => '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>

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 "Pending", "Failed", and "TemporaryFailure" states.

Valid values are: "UseDefaultValue", "RejectMessage"

REQUIRED Identity => Str

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 (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.

This class forms part of Paws, documenting arguments for method SetIdentityMailFromDomain in Paws::SES

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>

2022-06-01 perl v5.40.2

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.