Click here to Skip to main content
15,745,270 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Iam having registration form where I am sending activation link to gmail account but when I was registering I must be providing gmail password how should I do without sending password and user may login using any mail id
Nimit Joshi 3-Apr-14 1:29am    
I am not getting your question.

Steps to Do:


1.Add token column(any name),received column to your database table which has id,pwd,....

AspCode(In .Cs file)

1.Generate token by using "random" keyword and send token,id(which is already have) as a query string in url to mail account like


2.When user clicks on link(which is present in gmail or any other mail.).he is redirected to home page.

3.In home page you need to get the values from token and id and write the logic to update the column "received" to yes.(or you can use any logic).

1.If you want secure for token you can use encrypt and decrypt logic for token

2.The answer to this question is not a logic.its a task.So for time sake i just give the logic.For more you need to study various articles then you will get a clear idea.

refer below links .you will get an idea.

mail confirmation in[^][^][^][^]
Share this answer
Ajay_Babu 3-Apr-14 2:53am    
i dont know why it is down voted.its not an simple logic.its a Task(collection of so many logics).For this you need to study so many articles and get knowledge.

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

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