EmailPie Samples
// An invalid domain. | |
// http://emailpie.com/v1/check?email=notreal@example.com | |
{ | |
"didyoumean": null, | |
"errors": [ | |
{ | |
"message": "No MX records found for the domain.", | |
"severity": 7 | |
} | |
], | |
"success": false | |
} | |
// A poorly formatted email. | |
// http://emailpie.com/v1/check?email=invalidemail | |
{ | |
"didyoumean": null, | |
"errors": [ | |
{ | |
"message": "Invalid email address.", | |
"severity": 10 | |
}, | |
{ | |
"message": "No MX records found for the domain.", | |
"severity": 7 | |
} | |
], | |
"success": false | |
} | |
// A good, but possibly misspelled email. | |
// http://emailpie.com/v1/check?email=tester@gnail.com | |
{ | |
"didyoumean": "tester@gmail.com", | |
"errors": [], | |
"success": true | |
} | |
// Finally, a good email! | |
// http://emailpie.com/v1/check?email=tester@gmail.com | |
{ | |
"didyoumean": null, | |
"errors": [], | |
"success": true | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
thanks to @ctshryock for the ruby fix.