Validates an email address.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dm:ValidateEmail |
none |
*All Resource
|
None | None |
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
|
string |
Yes |
The email address to validate. |
xxx@yyy.com |
|
| Timeout |
integer |
No |
The timeout period. Default value: 60 seconds. |
20 |
| CheckGraylist |
boolean |
No |
Specifies whether to check the graylist. Default value: false. The result is asynchronously notified through EventBridge. |
true |
| ProbeType |
string |
No |
The probe type. Valid values:
|
FULL |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
xxxx-xxxx-xxxx-xxxx |
| Status |
string |
The email address status obtained from validation. Valid values:
|
VALID |
| SubStatus |
string |
The email address sub-status obtained from validation, which provides a detailed description of the status. Valid values:
|
UNSPECIFIED |
| Provider |
string |
The email provider classification of the address. Valid values:
|
Gmail |
| IsFreeMail |
boolean |
Indicates whether the address is a free mailbox. Valid values:
|
true |
| LocalPart |
string |
The local part of the email address parsed from syntax validation (lowercased and with the plus-sign portion removed). |
xxx |
| DomainPart |
string |
The domain part of the email address parsed from syntax validation (lowercased). |
yyy.com |
Examples
Success response
JSON format
{
"RequestId": "xxxx-xxxx-xxxx-xxxx",
"Status": "VALID",
"SubStatus": "UNSPECIFIED",
"Provider": "Gmail",
"IsFreeMail": true,
"LocalPart": "xxx",
"DomainPart": "yyy.com"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.