hbattat / verifyEmail

PHP class that can be easily used to verify an email address and make sure it is valid and does exist on the mail server. For a supported option please visit the site
https://hbattat.com/verifyemail.html
Apache License 2.0
545 stars 170 forks source link

Code is not working for yahoo and outlook #15

Closed babitabhandari closed 8 years ago

babitabhandari commented 8 years ago

Hi Sir , I have used your code an its works for gmail but not work with yahoo and outlook.If i check the incorrect email of yahoo in it its always show it is valid email .please can you give me the solution of verify all email address from yahoo domain.This code is not working for outlook domain,messages are not sent.

hbattat commented 8 years ago

I mentioned in the Notes section in README.md that some servers choose to always return "valid" for any email address. Unfortunately this is beyond anybody's control (other than the server target mail server itself) The reason they do that is to prevent spammers (and others) from using "brute force" to generate a list of all email accounts on that server.

So there is no solution for that.

babitabhandari commented 8 years ago

Thanx for reply me and tell me the reason why yahoo email addresss always return valid.

hbattat commented 8 years ago

I have added a potential fix for yahoo.com emails