Search code examples
databaseemailregistrationactivation

How to send email after registering


After that someone registers in a site, a mail is usually sent to his mail account. But to generate this link or what info can be placed in this link so that it can be used to activate the user account??


Solution

  • you can place any thing which can identify a valid user

    1- A Hash Value

    2- An Encrypted String

    3- A Guid

    and when user clicks on the link , you can validate the value.