Validate 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 |
Timeout period. Default value: 60 seconds. |
20 |
| CheckGraylist |
boolean |
No |
Specifies whether to check the graylist. Default value: false. Results will be sent as asynchronous notifications through EventBridge. |
true |
| ProbeType |
string |
No |
The detection type:
|
FULL |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
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 |
Email provider classification of the address Valid values:
|
Gmail |
| IsFreeMail |
boolean |
Indicates whether the address is a free email Valid values:
|
true |
| LocalPart |
string |
The local part of the email address parsed from syntax validation (lowercased 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.