Cannot verify my own address #22

Closed
opened 2020-05-01 18:09:04 +02:00 by paulamartingonzalez · 3 comments
paulamartingonzalez commented 2020-05-01 18:09:04 +02:00 (Migrated from github.com)

Thanks for the great work putting this together. I am having issues making it work, I did a first trial with my own email address and it returns that it cannot be validated. Can you please advise?

from validate_email import validate_email
is_valid = validate_email(email_address=my_gmail_address, check_regex=True, check_mx=True)

Validation for my_email_address failed: Email address undeliverable:
alt2.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address
alt3.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address
alt4.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address
gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address
alt1.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address

Thanks for the great work putting this together. I am having issues making it work, I did a first trial with my own email address and it returns that it cannot be validated. Can you please advise? > from validate_email import validate_email > is_valid = validate_email(email_address=my_gmail_address, check_regex=True, check_mx=True) > Validation for my_email_address failed: Email address undeliverable: > alt2.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address > alt3.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address > alt4.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address > gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address > alt1.gmail-smtp-in.l.google.com.: [Errno 99] Cannot assign requested address
karolyi commented 2020-05-01 20:46:18 +02:00 (Migrated from github.com)

Hey,
this to me seems that you have problems with the hostname resolution on your system. The host names in your error message (those are gmail.com MX records) can't be resolved to an IP address.

Please make sure the host resolution works, the module should work then too.

Hey, this to me seems that you have problems with the hostname resolution on your system. The host names in your error message (those are gmail.com MX records) can't be resolved to an IP address. Please make sure the host resolution works, the module should work then too.
hdanirwin commented 2020-12-21 21:16:00 +01:00 (Migrated from github.com)

@karolyi how would I troubleshoot host resolution? I'm thinking it might be my issue as well.

My email (dan@retention360.com) has no trouble getting verified by hunter.io. I had a lot of trouble getting dnspython installed. Maybe its running, but not actually installed properly?

(On a 2017 MacBook Pro with Big Sur 11.1. PyCharm and Python 3.9)

@karolyi how would I troubleshoot host resolution? I'm thinking it might be my issue as well. My email (dan@retention360.com) has no trouble getting verified by hunter.io. I had a lot of trouble getting dnspython installed. Maybe its running, but not actually installed properly? _(On a 2017 MacBook Pro with Big Sur 11.1. PyCharm and Python 3.9)_
karolyi commented 2020-12-22 11:22:30 +01:00 (Migrated from github.com)

If dnspython gives you proper responses (that is, resolves to IP addresses) from a python REPL, it must be your connection, that is either your ISP blocking port 25 access, or the receiving party blocking your IP with using blocklist services.

You can test dnspython by going to their module page, and looking up their API. It should be no big issue to test it within a quick python command line.

If dnspython gives you proper responses (that is, resolves to IP addresses) from a python REPL, it must be your connection, that is either your ISP blocking port 25 access, or the receiving party blocking your IP with using blocklist services. You can test dnspython by going to their module page, and looking up their API. It should be no big issue to test it within a quick python command line.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: karolyi/py3-validate-email#22
No description provided.