PHP code example of mailfinder / mailfinder-v1

1. Go to this page and download the library: Download mailfinder/mailfinder-v1 library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mailfinder / mailfinder-v1 example snippets




use Mailfinder\Api AS Mailfinder;
$key = 'XXXXXXXXXXXXXXXXXXX'; // Aqui você cola a sua chave de api
$mf = new Mailfinder($key);

$mf->validate("[email protected]");

$loader = inder\Api AS Mailfinder;

$mf = new Mailfinder('XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX');
$response = $mf->validate("[email protected]");
if($response->result=='send'){
  echo 'Email é válido';
}
else{
  echo 'Email inválido';
}