flanker icon indicating copy to clipboard operation
flanker copied to clipboard

Valid email also return as Invalid

Open senthilnathang opened this issue 9 years ago • 1 comments

A domain DNS is with one server where MX record has been in another server it says invalid email address

senthilnathang avatar Jul 26 '16 11:07 senthilnathang

I'm having a similar problem, where a domain with a valid MX record is still showing up as invalid.

I thought it might be because the server is blocking my connection to port 25, but the address validates on the Mailgun hosted version.

curl -G --user 'api:pubkey-501jygdalut926-6mb1ozo8ay9crlc28'
https://api.mailgun.net/v3/ddress/validate
--data-urlencode address='[email protected]'

returns is_valid: true, but calling

>>> from flanker.addresslib import address
>>> address.validate_address('[email protected]')None

returns None

Maybe related to #63? Any way the socket connection can be made optional?

jlev avatar Aug 03 '16 23:08 jlev