reacherhq / check-if-email-exists

Check if an email address exists without sending any email, written in Rust. Comes with a ⚙️ HTTP backend.
https://reacher.email
Other
4.27k stars 328 forks source link

Yahoo account recovery page with headless navigator #1363

Closed amaury1093 closed 10 months ago

amaury1093 commented 10 months ago

Problem

We cannot check yahoo emails via direct SMTP connection, so until today, we use a Yahoo API check to do this. However, it's flaky (see #1308), so we need a more robust solution.

Solution

Similarily to what's done with Hotmail, use a headless navigator to connect to yahoo's account recovery page https://login.yahoo.com/forgot to check if an email exists or not.

Advantages:

1. Existing account

Got redirected to a new page

Screenshot 2023-10-25 at 13 46 52

2. Non-existing account

Screenshot 2023-10-25 at 13 46 31

3. Disabled account

Got redirected to new page

Screenshot 2023-10-25 at 13 45 49