Reputation: 3331
i want to check to see if a given email say for example (yourname@your_domain.com) most likely that exact email don't exist is there a way to ping the email address or anything along that along that idea?
Upvotes: 2
Views: 4026
Reputation: 96
You can use my gem: "email_verifier" that you can find here: https://github.com/kamilc/email_verifier
It gives you validator which connects with given mail server "asking" smtp server if there is given email address.
Upvotes: 7
Reputation: 5186
You can check if the address format is valid, but there is no effective, email-specific "Ping" or lookup that you can do, other then sending a verification e-mail containing a code or link which the users clicks on or enters on your site to verify their address.
Upvotes: 3
Reputation: 25053
You can't reliably verify email addresses without human intervention. That's why the most common method is to send the user a 'confirmation' email.
Upvotes: 7