lavoiesl/smtp-email-validator

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP email validator using SMTP

dev-master 2012-07-09 06:44 UTC

This package is not auto-updated.

Last update: 2022-07-18 08:52:31 UTC


README

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/