/*$url = 'https://mailjagger.ga/'; //only on request we check the email if ($_REQUEST AND isset($_REQUEST['email'])) $url.='api/validate/'. $_REQUEST['email']; header("Location: ".$url); die();*/ //////////////////////// error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); ini_set('display_errors', 1); //only on request we check the email if ($_REQUEST AND isset($_REQUEST['email'])) { require_once 'emailvalidator.php'; $check = emailvalidator::check($_REQUEST['email']); header('Content-Type: application/json'); die(json_encode(array( 'valid' => ($check===TRUE)?TRUE:FALSE, 'message' => ($check===TRUE)?$_REQUEST['email']:$check) )); } ?>
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 ;)
index.php/?email=some@email.com
emailvalidator::check('some@email.com');
{"valid":true,"message":"chema@gmail.com"}
{"valid":false,"message":"Banned domain sharklasers.com"}
Made by Chema Thanks to Disposable Emails