It's Not Checking Yahoo Email #5

Closed
opened 2020-03-30 17:38:06 +02:00 by Hamza-Lachi · 7 comments
Hamza-Lachi commented 2020-03-30 17:38:06 +02:00 (Migrated from github.com)

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)

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)`
karolyi commented 2020-03-30 19:48:39 +02:00 (Migrated from github.com)

you have to use a proper from_address and helo_host.

you have to use a proper `from_address` and `helo_host`.
mohanarunachalam commented 2020-04-24 11:42:10 +02:00 (Migrated from github.com)

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.

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.
karolyi commented 2020-04-24 11:54:10 +02:00 (Migrated from github.com)

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.

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.
karolyi commented 2020-04-24 11:57:42 +02:00 (Migrated from github.com)

On a second thought, there's something off. I'll look into this later.

On a second thought, there's something off. I'll look into this later.
mohanarunachalam commented 2020-04-24 14:33:32 +02:00 (Migrated from github.com)

Thanks for the immediate reply. Will do further rounds of testing and look out for any relevant info. on this.

Thanks for the immediate reply. Will do further rounds of testing and look out for any relevant info. on this.
karolyi commented 2020-04-26 19:39:24 +02:00 (Migrated from github.com)
@mohanarunachalam see https://github.com/karolyi/py3-validate-email#the-module-provides-false-positives
mohanarunachalam commented 2020-04-27 12:52:58 +02:00 (Migrated from github.com)

Ok. Thanks for the update. Really helpful.

Ok. Thanks for the update. Really helpful.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#5
No description provided.