I want to verify a email address #check mail
Edit
by Beetho - 6 months ago (2025-04-29)
I want to verify a email address if its real or fake
| I want to verify a email address if its real or fake |
Ask clarification
2 Recommendations
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 27250 - 3 months ago (2025-08-08) Comment
To validate an email address the best way is to send a message to a person with a verification code in a link that the person can click to tell your site that the email is valid.
Still, you can do prior steps using this package like verifying if the person typed the email domain incorrectly, probably switching the order of the letters.
This package also can check:
-
Check of the email domain has a MX record or a A record with an IP that is valid
-
Simulate a SMTP delivery to email domain SMTP server to check if the server tells if the email address is valid
-
If the email address domain is in a white list to avoid doing SMTP validation with SMTP servers that do not tell if an email address is valid when a message is delivered to that SMTP server.
- If the email domain is a black list of disposable domains
|
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 125 - 4 months ago (2025-07-07) Comment
The PHP Email Validation Library Pro: Validate email addresses using multiple rules package offers multiple ways to validate if an email is real or fake. |