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

Differentiate failure to verify email address and definitive case that it is invalid #48

Open
irnc opened this issue Jan 17, 2018 · 0 comments

Comments

@irnc
Copy link

irnc commented Jan 17, 2018

Currently success: true is a definitive answer that SMTP server acknowledges that it would receive email to a given address.

success: false could mean both rejection of a RCPT TO command and misconfiguration on client side, e.g. 554-Bad DNS PTR resource record. So success: false could give false negatives due to client misconfiguration.

It would be convenient to differentiate mailbox existence and middle step success flags. For example { exists: true|false|undefined, failed: 'CONNECT|EHLO|MAIL FROM|RCPT TO' } with exists set to boolean only when response is definitive.

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