Click here to Skip to main content
15,891,976 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to send confirmation mail to user for downloading, if user confirmed by mail then able to downloads.
anyone can post your important views.
Posted

1 solution

When the user joins up, you add a field to his membership which is "waiting", and a GUID value to match. You then send an email containing a link to a "Complete Registration" page which has the UserID and the GUID value as query string parameters:
www.MyDomain.com/Login/ConfirmEmail.aspx?uid=1234567&emid=ba1b3a6f-5b47-41e0-b09b-d503dbdfe858
In the page, you check the uid, the status, and that the GUID matches. If so, you change the status to "full member" and let him proceed.
 
Share this answer
 
Comments
Arasappan 27-Nov-15 6:08am    
Y griff...he doesnt try a single line.. or Idea
OriginalGriff 27-Nov-15 6:50am    
He may have done, or he may be completely "dazzled" by the problem and not have a clue what to do - it happens to us all from time to time!

Let's see what he comes back with...
Arasappan 27-Nov-15 6:59am    
5ed

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