PHP email validator using SMTP
PHP
Latest commit 039b4f3 Jul 9, 2012 @lavoiesl moved tests

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/