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
Description 

Author

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

Recommendations

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

Screenshots  
  • 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

Downloademailvalidation-2016-10-27.zip 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  
 25%1
Total:35,883
This week:1
All time:12
This week:110Down
User Ratings User Comments (8)
 All time
Utility:89%StarStarStarStarStar
Consistency:82%StarStarStarStarStar
Documentation:-
Examples:80%StarStarStarStarStar
Tests:-
Videos:-
Overall:61%StarStarStarStar
Rank:1262
 
By this code i am able to validate only domain, not validate ...
5 months ago (icert glob)
45%StarStarStar
Thank you very useful package
2 years ago (Alberto Garelli)
70%StarStarStarStar
Your class stays in conflict with the Single Responsibility P...
7 years ago (Matthias Kaschubowski)
40%StarStarStar
Amazing and very Simple to use! I have seen a few Text Tutori...
9 years ago (Miklo)
70%StarStarStarStar
The class is very helpful for me.
10 years ago (Khoa Nguyen)
70%StarStarStarStar
Excellent
14 years ago (kishore kumar)
70%StarStarStarStar
Tried the ValidateEmailAddress() method to no avail.
15 years ago (G. S.)
35%StarStar
very useful script
14 years ago (Lee J)
70%StarStarStarStar