flanker
flanker copied to clipboard
Valid email also return as Invalid
A domain DNS is with one server where MX record has been in another server it says invalid email address
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?