Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (22 loc) · 610 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 610 Bytes

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/