So you've decided to take the step to implement our Email Validation API. A good place to get started is to test the Email Validation API in the Mailgun Control Panel. This way, you can quickly and easily submit validations and view the JSON response from the API.
If your account has it, the Validations option will be on the left-hand navigation pane of your Control Panel.
Deciphering The Clues
So, once you've validated an address, what does the response mean? Let's take a look at the parameters in the JSON response.
- address - Address being validated
- did_you_mean - A suggested alternatively based on common misspellings or typos
- is_disposable_address - Returns true if the domain is a known disposable email address
- is_role_address - Returns true if the address is role-based, e.g. firstname.lastname@example.org or email@example.com
- is_valid - Checks the email against known provider rule list and returns false if a violation occurs
- mailbox_verification - Result of the mailbox validation check with the ESP. Does not affect is_valid
- parts - Parsed segments of the email address
- reason - Reason for address failing email validation check if applicable
Other Helps For Your Journey
We also have community-driven SDKs for popular programming languages to help you implement Mailgun Email Validation into your project.
You are now ready to begin making API calls to start validating email addresses. To see the full technical details on how to implement and make calls to the Email Validation API, please see our technical documentation here.
Sinch Mailgun has answers! If you have any concerns or questions, please send us a Support ticket using the Support page within your Mailgun Control Panel. Our Support Team will be happy to assist!