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

misc.is_disposable is always false for disposable email addresses #1333

Open dweingart opened 11 months ago

dweingart commented 11 months ago

Email Provider

disposable email providers like inboxes.com

Version of check-if-email-exists (if running it yourself)

reacherhq/backend:latest

What happened?

The docs for mailchecker:is_valid() state:

The mailchecker crate provides a is_valid(email) function that ensure the email is valid and does not come from a disposable email service.

This means that email addresses from disposable email providers fail the initial syntax check, which means that the second mailchecker:is_valid() call in misc:mod.rs never occurs.

Basically, misc.is_disposable isn't useful because all disposable email addresses fail the initial syntax check because mailchecker combines the two functions into one.

Relevant log output

No response