It's Not Checking Yahoo Email #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: karolyi/py3-validate-email#5
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi I Tried This Module But It Only Work For Gmail It's Not Working On Yahoo,Outlook,hotmail
here is the code
validation = validate_email(email_address=str(df[i]).replace(',','').replace(';',''),check_regex=True,check_mx=True, from_address='', helo_host='', smtp_timeout=30, dns_timeout=30, use_blacklist=True)
you have to use a proper
from_address
andhelo_host
.Hi,
I am facing this same issue. I am trying to test validity of an Yahoo email. Many online tools say, the email is False or the 'mailbox not found error'.
But, the library says 'True'.
Could you please explain if I am missing something?
Also, what are the values to pass for from_address and helo_host?
I tried passing from_address='my_gmail_address' and helo_host='gmail.com' , but still it returned True.
If you get
True
, that means yahoo's servers in the SMTP conversation said they would accept the email coming from that address, going to the address you passed in the "to" parameter. Not much I can do there, yahoo does this probably to provide false positives for spammers testing for emails to spam. Or you might have hit an MX that will try to relay every email to yahoo's servers.Look into the SMTP protocol to understand what the HELO command does, but basically you should use your IP's fully qualified domain name.
On a second thought, there's something off. I'll look into this later.
Thanks for the immediate reply. Will do further rounds of testing and look out for any relevant info. on this.
@mohanarunachalam see https://github.com/karolyi/py3-validate-email#the-module-provides-false-positives
Ok. Thanks for the update. Really helpful.