What is the best PHP email verification class? #email verification
Edit
by LeetHax - 3 years ago (2022-01-21)
Bulk Verify Email Lists
| I need to get an email verifier built in PHP using laravel.
It needs to be a bulk email verifier where you can upload .csv files, checking the email addresses in the "email" column to see if they exist, are spamtraps, catch-alls, disposable or burner addresses, invalid.
|
Ask clarification
2 Recommendations
This package can validate email addresses using multiple rules.
It implements several types of checks for a given email address and it returns a result telling if it passed all the checks. Currently it implements the following checks:
- Validate the email address format
- Validate existence of valid DNS MX records for the email domain
- Check if the email domain is of disposable email addresses
- Check if the email domain is of a free email address provider
- Check if the email domain is in a list of banned domains
| by John Conde package author 90 - 3 years ago (2022-02-28) Comment
The PHP Email Validation Library Pro package will validate an email address for all or some of the following conditions:
-
is in a valid format
-
has configured MX records (optional)
-
is not a disposable email address (optional)
-
is not a free email account (optional)
-
is not a banned email domain (optional)
-
flag Gmail accounts that use the "plus trick" and return a sanitized email address
All you need to do is write a simple script that reads from your database to get the email addresses and loop through them using this package as your validator.
|
PHP Email validation: Determine if a given e-mail address is valid.
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.
| by Manuel Lemos package author 26695 - 3 years ago (2022-01-21) Comment
I use this package for that purpose. It is not specific to Laravel. You would need to develop yourself the Laravel integration part or ask a developer with Laravel experience to do that part.
You also need to provide external CVS files with the lists with updated spam traps domains and other types of invalid domains.
That part of providing those lists of invalid domains would be better if you use an API maintained by a developer who updates their lists.
Would you be interested in using such an API if it existed? |