library check-email
Проверка email на существование
noroman/check-email
Проверка email на существование
- Thursday, July 27, 2017
- by noRoman
- Repository
- 0 Watchers
- 0 Stars
- 18 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
CheckEmail
require_once __DIR__ . '/vendor/autoload.php';
use CheckEmail\CheckEmail;
$domainsExcluded = include __DIR__ . '/domainsExcluded.php';
$domainsTemporary = include __DIR__ . '/domainsTemporary.php';
$email = 'info@ya.ru';
$ce = new CheckEmail($email);
$ce->addDomainTemporary($domainsTemporary)->addDomainExcluded($domainsExcluded);
if ($ce->check()) {
echo $email . ' exists';
} else {
echo $email . ' not exists';
}
With debug logs, (*1)
require_once __DIR__ . '/vendor/autoload.php';
use CheckEmail\CheckEmail;
$domainsExcluded = include __DIR__ . '/domainsExcluded.php';
$domainsTemporary = include __DIR__ . '/domainsTemporary.php';
$email = 'info@ya.ru';
$ce = new CheckEmail($email);
$ce->addDomainTemporary($domainsTemporary)->addDomainExcluded($domainsExcluded);
$ce->setDebug();
if ($ce->check()) {
echo $email . ' exists';
} else {
echo $email . ' not exists<br>';
print_r($ce->getLogs());
}
dev-master
9999999-dev
Проверка email на существование
Sources
Download
MIT
The Requires
by
NovikovRoman
v0.0.1
0.0.1.0
Проверка email на существование
Sources
Download
MIT
The Requires
by
NovikovRoman
v0.0.2
0.0.2.0
Проверка email на существование
Sources
Download
MIT
The Requires
by
NovikovRoman