NAME
Paws::PinpointEmail::MailFromAttributes
USAGE
This class represents one of two things:
Arguments in a call to a service
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object.
As an example, if Att1 is expected to be a Paws::PinpointEmail::MailFromAttributes object:
$service_obj->Method(Att1 => { BehaviorOnMxFailure => $value, ..., MailFromDomainStatus => $value });
Results returned from an API call
Use accessors for each attribute. If Att1 is expected to be an Paws::PinpointEmail::MailFromAttributes object:
$result = $service_obj->Method(...);
$result->Att1->BehaviorOnMxFailure
DESCRIPTION
A list of attributes that are associated with a MAIL FROM domain.
ATTRIBUTES
REQUIRED BehaviorOnMxFailure => Str
The action that Amazon Pinpoint to takes if it can't read the required MX record for a custom MAIL FROM domain. When you set this value to UseDefaultValue, Amazon Pinpoint uses amazonses.com as the MAIL FROM domain. When you set this value to RejectMessage, Amazon Pinpoint 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.
REQUIRED MailFromDomain => Str
The name of a domain that an email identity uses as a custom MAIL FROM domain.
REQUIRED MailFromDomainStatus => Str
The status of the MAIL FROM domain. This status can have the following values:
PENDING– Amazon Pinpoint hasn't started searching for the MX record yet.SUCCESS– Amazon Pinpoint detected the required MX record for the MAIL FROM domain.FAILED– Amazon Pinpoint can't find the required MX record, or the record no longer exists.TEMPORARY_FAILURE– A temporary issue occurred, which prevented Amazon Pinpoint from determining the status of the MAIL FROM domain.
SEE ALSO
This class forms part of Paws, describing an object used in Paws::PinpointEmail
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