Please guide me in the code for
1.Send an email when one user registers on the site from registration page.
2.This email must contain a link which when clicked should contain:
userid in query string and should update confirm field in database to 1.
Email Sending problem
Moderator: General Moderators
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: Email Sending problem
Here is a very good php mail class...easy to use too...
http://www.forum.jaoudestudios.com/view ... ?f=13&t=13
When embedding the link for the user to click to activate their account do not just have an id number as they could impersonate someone else. You will have to encrypt the id and decrypt it server side later on.
There is a good encryption function on that forum too, including the decrypt function.
http://www.forum.jaoudestudios.com/view ... ?f=13&t=13
When embedding the link for the user to click to activate their account do not just have an id number as they could impersonate someone else. You will have to encrypt the id and decrypt it server side later on.
There is a good encryption function on that forum too, including the decrypt function.
-
WebbieDave
- Forum Contributor
- Posts: 213
- Joined: Sun Jul 15, 2007 7:07 am
Re: Email Sending problem
PHPMailer is quite popular and makes it easy to create multipart messages.