Posted By

jspicher on 02/13/13


Tagged

class php emailChecker


Versions (?)

how to disable mx ping with emailChecker class


 / Published in: PHP
 

URL: http://emailchecker.jspicher.com/doc.php

how to disable mx ping with emailChecker class

  1. <?php
  2. $e = '[email protected]'; // email address with a typo
  3.  
  4. require_once('email_checker.class.php'); //include emailChecker.class.php file
  5. $emailChecker = new emailChecker; // Make a new instance
  6. $emailChecker->check_mx = 0; //turn off simulated MX ping
  7. $response = $emailChecker->check(e); //run core check function with all options
  8.  
  9. print_r($response);
  10. ?>

Report this snippet  

You need to login to post a comment.