Categories
Internet PHP

Free API Email Validation

I have coded a small API service which validates email addresses.

Email Validator is a free JSON API that gives you a simple way to validate/verify email addresses. You can get the free source code and run it on your server or use this service for free 😉

You will say, ok what’s the complexity here? Not that much actually but I want to make it easier for you.

What we check?

1. checks Email Format/Syntax
2. checks MX-Records (SMTP), using DNS
3. checks for Disposable Addresses, using an open source list.
4. returns JSON
{"valid":true,"message":"chema@gmail.com"}
{"valid":false,"message":"Banned domain sharklasers.com"}

How to use it?

https://mailjagger.ga/api/validate/some@email.com
OR if you run the class
emailvalidator::check('some@email.com');

Validate your email here.

You can see the code at github 😉