Login   Register  
PHP Classes
elePHPant
Icontem

PHP Email validation: Determine if a given e-mail address is valid.

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Manuel Lemos
Name: Manuel Lemos <contact>
Classes: 38 packages by
Country: Portugal Portugal
Age: 46
All time rank: 1
Week rank: 3 Down1 in Portugal Portugal Equal


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
Class that may be used to determine if a given e-mail address is valid. It features:

- Simple validation just by looking at the e-mail address string
- Validation of the domain against a list of known domains that are often misspelled (typos) like those of Gmail.com, Hotmail.com, Mail.ru, Ntlworld.com, Rediffmail.com, Rocketmail.com, Yahoo.com, Yandex.com, etc.
- Provides did you mean like suggestions for email addresses that were entered with typos
- Validation of domain against a list of typical fake domains like test.com, testtest.com, asd.com, asdf.com, etc..
- Validation of the email address domain against a list of of known domains for being used as disposable email addresses or temporary domains
- Manual whitelisting of domains to avoid trigger false positives of invalid domains
- Validation of the e-mail address domain checking the DNS MX record (mail exchange)
- Validation of a e-mail address by connecting to the mail host server to determine if there is really a deliverable mail box by simulating part of the message delivery process.
- Works under Windows or other platforms that do not have the GetMXRR function enabled

  Classes of Manuel Lemos  >  PHP Email validation  >  Download Download .zip .tar.gz  >  Support forum Support forum (36)  >  Blog Blog (2)  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP Email validation
Base name: emailvalidation
Description: Determine if a given e-mail address is valid.
Version: 1.0.15
PHP version: 3
License: BSD License
All time users: 33453 users
All time rank: 13
Week users: 5 users
Week rank: 219 Down
 
  Groups   Screenshots Screenshots   Rate classes User ratings   Dependencies  
  Dependents   Trackback   Applications   Files Files  

  Groups  
Group folder image Email Email sending and receiving View top rated classes
Group folder image Networking Networking protocols, clients and servers View top rated classes
Group folder image Validation Validation algorithms View top rated classes

  Files folder image Screenshots  
email_validation.gif
File Role Description
Accessible without login Image file email_validation.gif Screen Example email validation session with debug output enabled


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (89%) Good (82%) - Good (80%) - - Sufficient (61%) 811
Month: Not yet rated by the users

  Packages needed by this class  
Class DownloadWhy it is needed Dependency
DNSResolver Download .zip .tar.gz If you are using Windows or any other platform on which the PHP function GetMXRR is not working, this class can provide an alternative Conditional

  Other classes that need this package  
Class Why it is needed Dependency
Simple Forum it checks if mail is good Optional

  Pages that reference this package  
Determine whether a mailbox address is correct
Both in the membership registration confirmation or send information about the latest offers, e-mail has become an indispensable modern communication tool...
Download pre-programmed php classes
In the software development are two stages you do, before you start actually typing any character:1. Find out if the software already exists. 1b. Are there possibilities to change this?2. Find out if the main parts of your software are already written.
How to validate emails using PHP
Complete and thorough php email validation and php email verification can be found at PHPClasses.org: Email Validation:...
Verificare esistenza indirizzo e-mail in php
usa quest'altra classe, molto semplice e funziona bene...

Latest pages that reference packages Latest pages that reference packages


  Applications that use this package  
Dog Obedience
Used to validate e-mail addresses in this site about training dogs
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file test_email_validation.php Example E-mail validation test page script
Accessible without login Plain text file invalidemaildomains.csv Data Sample list of domains known to be invalid for email addresses
Accessible without login Plain text file emaildomainswhitelist.csv Data White list of domains to always be considered valid
Plain text file email_validation.php Class E-mail validation class
Accessible without login Plain text file getmxrr.php Aux. GetMXRR function emulation need to make the class work properly under Windows and other platforms without this function (needs DNS.php mentioned in the Related links section).
Accessible without login Plain text file invalidemailservers.csv Data Invalid email servers list
Accessible without login Plain text file invalidemailusers.csv Data List of invalid email address user names

Install with Composer Install with Composer - Download Download all files: emailvalidation.tar.gz emailvalidation.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.