PHP email validator using SMTP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src/Lavoiesl/Validation/Email/SMTP
test/Lavoiesl/Validation/Email/SMTP/Test
.gitignore
README.md
TODO.md
composer.json
phpunit.xml

README.md

smtp-email-validator

PHP email validator using SMTP

Requirements

Windows

  1. Net_DNS

Basic usage

<?php
  $validator = new Lavoiesl\Validation\Email\SMTP\Validator('me@example.com');
  if (!$validator->validate('test-client@gmail.com')) {
    echo 'Invalid email';
  }
?>

Authors

Original author

gabe@fijiwebdesign.com

http://www.webdigi.co.uk/blog/2009/how-to-check-if-an-email-address-exists-without-sending-an-email/

GitHub author

Sebastien Lavoie sebastien@lavoie.sl

License

http://creativecommons.org/licenses/by/2.0/