Click here to Skip to main content
14,935,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Team,

In my application I'm using Email. Which can send new email, receive, forward etc..
I don't want Email Id validation(like is it has @, .com/.in etc..)
I need to Verify is that email exist anywhere ?,
Means, like our registration in CodeProject . while registration we will provide our MailID. so CodeProject server check is it correct or not and sends the verification to our mail.


Thanks
Dileep(Trainee software developer)
Posted

1 solution

You can't verify an email by any means other than to send an email to it and get a response back. (And all that does is check that the email address exists at that moment in time: some are time limited and automatically expire after ten minutes for example).

What I (and many others) do is send an email, with a "complete registration" link to a webpage. The link includes a query string which identifies the originator. For example, a Guid value which ties back to a guid in your "waiting completion" table in your db:
www.MyDomain.com/regComplete.apsx?cc=84cb21dc-bcdb-428a-958b-42c959dcdb78
Or include the userID in the query string:
www.MyDomain.com/regComplete.aspx?uid=102322&cc=84cb21dc-bcdb-428a-958b-42c959dcdb78
In the web page, you read the query string, check the user and Guid and mark it as confirmed.
   
Comments
Dileep Mada 6-May-13 0:09am
   
Thanks
OriginalGriff 6-May-13 1:54am
   
You're welcome!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900