0

What is the way to attain maximum success rate to verify the existence of an email address? Currently, I have been using the following package [npm package -> https://www.npmjs.com/package/email-verify] in my Node.JS script to validate bulk email ids, but it treats a lot of valid email address as invalid.

Nikhil
  • 467
  • 10
  • 22
  • 3
    Send a verification mail to the user. – Asons Jul 03 '18 at 16:29
  • @LGSon what I mean is how can I check if the email address actually exists or not without sending the actual email. – Nikhil Jul 03 '18 at 16:31
  • Check to see if the answer you desire is [here](https://stackoverflow.com/questions/39092822/how-to-do-confirm-email-address-with-express-node) – atsnam Jul 03 '18 at 16:34
  • You can't do that. To get 100% accuracy you need to make the user verify it. – Asons Jul 03 '18 at 16:35
  • 1
    Possible duplicate of [How should I verify email address existence and domain name existence in javascript or nodeJs?](https://stackoverflow.com/questions/49314277/how-should-i-verify-email-address-existence-and-domain-name-existence-in-javascr) – Asons Jul 03 '18 at 16:40

1 Answers1

1

Agree with the comment, re: sending a verification email. I've toyed with packages that try to automate the process without involving the user, and they are all essentially heuristic in nature, yielding false negatives and/or false positives. I tried one which could not validate some university emails, because it depended on the configuration of the SMTP server, for example.

vicatcu
  • 5,407
  • 7
  • 41
  • 65
  • how do you do it for bulk email address checking programmatically? – Nikhil Jul 03 '18 at 16:40
  • 1
    @Nikhil Listen, you **can't** verify an email address w/o user verification. Read the possible duplicate's link answer and you will understand why – Asons Jul 03 '18 at 16:41