<?php
include_once('iAlgorithmValidationDomain.php');
include_once('ValidationEmail.php');
include_once('SocketValidationDomain.php');
$listEmail = array(
'teste@gmail.com',
'teste@gmail23883273.com',
'facebook@testeinexistentegmail.com',
'facebook@uol.com.br'
);
foreach($listEmail as $key => $value)
{
echo "Email: {$value} é válido: " . ValidationEmail::validateEmail($value, new SocketValidationDomain()) . '</br>';
}
?>
|