Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
dweingart opened this issue Sep 13, 2023 · 0 comments
Open

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

dweingart opened this issue Sep 13, 2023 · 0 comments

Comments

@dweingart
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant