|looking for email address verificatio...
|Request new recommendation
by Govind Saini - 8 years ago (2015-07-04)
I am looking for email address verification script.
1. by Web 9 - 5 years ago (2018-03-08) Reply
It impossible to perform any verification and guarantee that an email is valid.
Classes like this can simulate the delivery of a message to the SMTP server of the domain of the email to verify and check if the server would reject the delivery.
If the delivery is rejected, you can assume the email address is invalid.
On the other hand if the delivery is not rejected right away, it does not mean the address is valid because the SMTP server may accept the message initially and reject it later.
Anyway, this class is still useful and can even detect common typos of email address domains, like gmial.com instead of gmail.com, and tell you that the address is invalid even before trying the SMTP delivery check.
This class uses the SMTP protocol to check if an email address is valid by simulating the delivery a message