Page 1 of 1

Confirmation Email

Posted: Thu Jul 10, 2008 4:11 am
by dumlee
i need to Send an email when one user registers on the site from registration page.

This email must contain a link which when clicked should contain:

userid in query string and should update confirm field in database to 1.

Re: Confirmation Email

Posted: Thu Jul 10, 2008 4:26 am
by Apollo
So, exactly what is the question? :)

Re: Confirmation Email

Posted: Thu Jul 10, 2008 6:11 am
by Rovas
You add the user to the database after checking if they are correct, using insert. Check if the insert was successful, if yes use the mail function to send the confirmation message.