syrusakbary / validate_email

Validate_email verify if an email address is valid and really exists
Other
573 stars 232 forks source link

Getting None values for all emails #89

Open taherelsheikh opened 5 years ago

taherelsheikh commented 5 years ago

Hi Team - I've been always getting None values when using validate_email('example@example.com',check_mx=True) so I decided to debug and run the validate_email.py then I noticed that the log I'm getting is this DEBUG:validate_email:ServerError or socket.error exception raised (timed out). any ideas what might be the case?

mithunmanohar commented 5 years ago

Facing the same issue.

abinmittu commented 5 years ago

Same issue for me too..

Latand commented 5 years ago

Worked fine on my windows PC, but didn't on a VPS. Same issue

validate_email.py [LINE:175] #DEBUG [2018-12-22 19:21:45,408] ServerError or socket.error exception raised ([Errno 101] Network is unreachable).

Guy293 commented 5 years ago

Apparently it wont work with vpn.

Latand commented 5 years ago

Apparently it wont work with vpn.

  1. Why?
  2. I used on a VPS, not with VPN
Latand commented 5 years ago

Also, an update. It worked on another VPS. So it may be an issue with the ip address of the first VPS. I don't know what can cause the issue, but I'll try using a proxy

Guy293 commented 5 years ago

Also, an update. It worked on another VPS. So it may be an issue with the ip address of the first VPS. I don't know what can cause the issue, but I'll try using a proxy

It must be the way the developer checking the email is blocking some ip's i guess...

GratefulDave commented 5 years ago

I am on fiber broadband in the states. I get None on SMPT and MX records for any email I try to validate. :/

kamilhlawiczka commented 5 years ago

I have the same issue. Some ISP block SMTP (or SMTP block IP from my ISP), so verifing email get timeout and return None.

This pull request should fix issue

https://github.com/syrusakbary/validate_email/pull/74/commits/86a140cfcfd61403660e8a05b91ce21220307286

It is funny for me because my internet provider allow connect by ADSL and 4G. For ADSL SMTP is blocked but on 4G not.