/AWS1/CL_SE2MAILFROMATTRIBUTES¶
A list of attributes that are associated with a MAIL FROM domain.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_mailfromdomain TYPE /AWS1/SE2MAILFROMDOMAINNAME /AWS1/SE2MAILFROMDOMAINNAME¶
The name of a domain that an email identity uses as a custom MAIL FROM domain.
iv_mailfromdomainstatus TYPE /AWS1/SE2MAILFROMDOMAINSTATUS /AWS1/SE2MAILFROMDOMAINSTATUS¶
The status of the MAIL FROM domain. This status can have the following values:
PENDING– Amazon SES hasn't started searching for the MX record yet.
SUCCESS– Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED– Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE– A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.
iv_behavioronmxfailure TYPE /AWS1/SE2BEHAVIORONMXFAILURE /AWS1/SE2BEHAVIORONMXFAILURE¶
The action to take if the required MX record can't be found when you send an email. When you set this value to
USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value toREJECT_MESSAGE, the Amazon SES API v2 returns aMailFromDomainNotVerifiederror, and doesn't attempt to deliver the email.These behaviors are taken when the custom MAIL FROM domain configuration is in the
Pending,Failed, andTemporaryFailurestates.
Queryable Attributes¶
MailFromDomain¶
The name of a domain that an email identity uses as a custom MAIL FROM domain.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAILFROMDOMAIN() |
Getter for MAILFROMDOMAIN, with configurable default |
ASK_MAILFROMDOMAIN() |
Getter for MAILFROMDOMAIN w/ exceptions if field has no valu |
HAS_MAILFROMDOMAIN() |
Determine if MAILFROMDOMAIN has a value |
MailFromDomainStatus¶
The status of the MAIL FROM domain. This status can have the following values:
PENDING– Amazon SES hasn't started searching for the MX record yet.
SUCCESS– Amazon SES detected the required MX record for the MAIL FROM domain.
FAILED– Amazon SES can't find the required MX record, or the record no longer exists.
TEMPORARY_FAILURE– A temporary issue occurred, which prevented Amazon SES from determining the status of the MAIL FROM domain.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAILFROMDOMAINSTATUS() |
Getter for MAILFROMDOMAINSTATUS, with configurable default |
ASK_MAILFROMDOMAINSTATUS() |
Getter for MAILFROMDOMAINSTATUS w/ exceptions if field has n |
HAS_MAILFROMDOMAINSTATUS() |
Determine if MAILFROMDOMAINSTATUS has a value |
BehaviorOnMxFailure¶
The action to take if the required MX record can't be found when you send an email. When you set this value to
USE_DEFAULT_VALUE, the mail is sent using amazonses.com as the MAIL FROM domain. When you set this value toREJECT_MESSAGE, the Amazon SES API v2 returns aMailFromDomainNotVerifiederror, and doesn't attempt to deliver the email.These behaviors are taken when the custom MAIL FROM domain configuration is in the
Pending,Failed, andTemporaryFailurestates.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BEHAVIORONMXFAILURE() |
Getter for BEHAVIORONMXFAILURE, with configurable default |
ASK_BEHAVIORONMXFAILURE() |
Getter for BEHAVIORONMXFAILURE w/ exceptions if field has no |
HAS_BEHAVIORONMXFAILURE() |
Determine if BEHAVIORONMXFAILURE has a value |