PHP code example of hbattat / verifyemail

1. Go to this page and download the library: Download hbattat/verifyemail 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/ */

    

hbattat / verifyemail example snippets


$ve = new hbattat\VerifyEmail('[email protected]', '[email protected]');

$ve = new hbattat\VerifyEmail('[email protected]', '[email protected]', 26);

var_dump($ve->verify());

print_r($ve->get_errors());

print_r($ve->get_debug());

print_r($ve->get_debug(true));

$ve->set_email('<another email Address to verify>');
$ve->set_verifier_email('<another verifier email>');
$ve->set_port(<port number>);