Email address check


/ Published in: PHP
Save to your folder(s)

Checks for a valid email address using the php-email-address-validation class.
Source and docs = URL


Copy this code and paste it in your HTML
  1. include('EmailAddressValidator.php');
  2.  
  3. $validator = new EmailAddressValidator;
  4. if ($validator->check_email_address('[email protected]')) {
  5. // Email address is technically valid
  6. }
  7. else {
  8. // Email not valid
  9. }

URL: http://code.google.com/p/php-email-address-validation/

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.