valid ( existing ) email address verification

I have this registration page which works fine ,but for the email field I need to make sure that the email is correct and valid 1 : Correct 2 : Valid

for the correct email add i am using java script validation for maintaining [email protected]

well that is working fine

but my question is , Is there any web service or java API to make sure whether the mail ID actually is existing and registered Like my mail id is : [email protected] this is actually a existing ID

but i may try [email protected],[email protected],[email protected],

these will pass the java script validation but are not existing in reality

do we have any way to make sure that the mail id exists ??

Upvotes: 3

Views: 1158

Answers (2)

Luuuud
Luuuud

Reputation: 4439

This probably isn't possible using existing services and/or API's, since it could be quite a security risk. Use an email with a validation link if you want to be sure the address exists. Or OpenID, as mentioned by BalusC.

Upvotes: 0

Veger
Veger

Reputation: 37905

The only way to check if an email address actually exists is to send an email to it and let the user respond on that.

For example:

  • a confirmation code that needs to be filled in your website
  • a link, going to your website, that needs to be visited

And still it is uncertain whether the email is existing afterwards, as it is easy to simply create a temporary email to pass the validation and delete it afterwards.

Instead of validating email addresses you can use the Google API to let your users sign in using their account. It is also possible to use OpenID on a similar way.

Upvotes: 8

Related Questions