syrusakbary / validate_email

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

All .net extensions returning 'None' #87

Open warped-quasar opened 6 years ago

warped-quasar commented 6 years ago

My script seems to only be returning .com addresses. Is anyone else having trouble with the .net and/or any other domain extensions?

All of my .com addresses are running just fine, rejecting fakes (tested with dummy emails) and returning True and False correctly. I haven't changed anything in the original package (calling validate_email "as is" in a loop) and I am running python 3.6.

I did download the py3dns.

Thanks in advance!

GuillermoAndrade commented 6 years ago

confirmed for domain laposte.net on python 2.7

warped-quasar commented 6 years ago

confirmed for domain laposte.net on python 2.7

Can you elaborate?

GuillermoAndrade commented 6 years ago

Hello, i'm testing this command

email='someone@laposte.net'
from validate_email import validate_email
if not validate_email(email, check_mx=True):
  print('failed')

And the result is failed however, in console :

telnet smtp.laposte.net 25
Trying 194.117.213.7...
Connected to smtp.laposte.net.
Escape character is '^]'.
220 lpn-prd-vrin003 ESMTP Postfix (Ubuntu)
da-code-a commented 6 years ago

This is also failing when trying to validate emails on my own domain. I have set-up a couple of real email addresses as well as a catch-all that will direct any unmatched addresses to my main one. However, running validate_email('absolutely.anything@noreallyitis.me', verify=True) always returns a None response.

tweinreich commented 5 years ago

Same problem here. It works for *.de while *.net returns None (Python 3.7.3).