Once a user has registered on my site, I want to send them an e-mail to validate their e-mail address exists. What techniques are normally used to achieve this? Please let me know any suggestions.
Thanks
Confirm e-mail exists on user registration
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Confirm e-mail exists on user registration
As soon as they register fire them an email with an activation link and record their details in the database and have a column status that is 'pending'. When they click on the activation link change their status to 'active'
Re: Confirm e-mail exists on user registration
That's how I did it as well. I used a randomly generated ID number. If you want to be secure, I'd use a random ID, along with their user login.
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Confirm e-mail exists on user registration
If you want to be extra secure, I encrypted their user id and then decrypted it after the user clicks the link.