post https://api.sendios.io/v1/email/check
API endpoint to validate the user's email address and bring it to the correct and valid format (if possible and necessary). The endpoint does NOT create a new user in the system.
In response, the request returns information about the user's email address:
| Response params | Description |
|---|---|
| reason | Reason why the email is invalid (only if valid = false); |
| orig | Original user email; |
| valid | Email validity: true / false; |
| User email that will be stored; | |
| vendor | Mailer: AOL, Google, Mail.ru, Hotmail, Yahoo!, Rambler, Apple, Ukr.net, etc.; |
| domain | Mailer domain; |
| trusted | true / false (this parameter determines whether the vendor of the email address is verified: for example, trusted = true for well-known mailers such as Google, Mail.ru, Outlook, etc. If we do not have information about the vendor of the email address, then the value trusted = false). |
Reasons why the email may be invalid:
| Reason value | Description |
|---|---|
| invalid | Incorrect email format; |
| mx_record | There is no MX record for the mail domain; |
| application | Email refers to the application (for example, fb.com); |
| system | System email (for example, [email protected]); |
| blacklisted | Email is in the blacklist; |
| mx_record_blacklisted | Email's MX record is in the blacklist; |
| mx_ip_blacklisted | IP address of the MX record is in the blacklist. |
MX record (from a mail exchanger) is a type of DNS record that stores a mail exchange server for a domain and is designed to route email using the SMTP protocol.
For detailed information on the email address validation process, please refer to the Email Validation article.