Last post Dec 10, 2012 08:51 AM by wavemaster
Dec 10, 2012 07:55 AM|Resumepod|LINK
Hi, .NETerzz. I want to know how can a set a Confirmation eamil function Asp empty website? For Example a new user come on my website and put his all information in textboxs and then automatcily a email will be genrated and will be sent to his Email. like
this. You are currently applied for registeration on "Bla bla bla" click here to confirm your account. www.blablabla.com/Confirm.aspx?id=fdr34546 And as he clieked the link his account will be automaticly confirmed.
I hope anybody will help me thank you!
Dec 10, 2012 08:01 AM|pratik_galoria|LINK
in your database, in the table where you store user information, add one more field like "Token".
now everytime, when new user regsiter, generate some random value and update this token field with that value..and send mail including the link as below:
click this link to confirm : http://www.yoursite.com/validatemail.aspx?email=<email of user>&token=<generated key>
now when user clicks on this link, validatemail.aspx page will be opend with email and token querystrings..using that you can verify from database..hope you are clear!
Dec 10, 2012 08:51 AM|wavemaster|LINK
What you are describing is standard functionality of the starter website template.
Are you sure you really need to start with an empty website?