PHP Classes

Bulk Email Verifier PHP script with class PHP Email validation: Determine if a given e-mail address is valid.

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum (48)   Blog (2)    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 61%Total: 35,883 This week: 1All time: 12 This week: 110Down
Version License PHP version Categories
emailvalidation 1.0.17BSD License3Email, Networking, Validation


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,,,,,,,, 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,,,, 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


What is the best PHP email verification class?
Bulk Verify Email Lists

What is the best PHP email address validation class?
Check if an email address exists

email validation
Bulk email validation

looking for email address verification script
can any one help me to find email verification php script

Find a php email validation class
I need to overcome malformed newlines in header

Picture of Manuel Lemos
  Performance   Level  
Name: Manuel Lemos is available for providing paid consulting. Contact Manuel Lemos .
Classes: 45 packages by
Country: Portugal Portugal
Age: 54
All time rank: 1
Week rank: 6 Down1 in Portugal Portugal Equal

  • email_validation.gif
  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 23KB
Downloademailvalidation-2016-10-27.tar.gz 23KB
Install with ComposerInstall with Composer
Needed packages  
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
 Version Control Reuses Unique User Downloads Download Rankings  
This week:1
All time:12
This week:110Down
User Ratings User Comments (8)
 All time
By this code i am able to validate only domain, not validate ...
5 months ago (icert glob)
Thank you very useful package
2 years ago (Alberto Garelli)
Your class stays in conflict with the Single Responsibility P...
7 years ago (Matthias Kaschubowski)
Amazing and very Simple to use! I have seen a few Text Tutori...
9 years ago (Miklo)
The class is very helpful for me.
10 years ago (Khoa Nguyen)
14 years ago (kishore kumar)
Tried the ValidateEmailAddress() method to no avail.
15 years ago (G. S.)
very useful script
14 years ago (Lee J)