Jump to content

to send email to the user


kadamsurekha

Recommended Posts

hello friends!

i m designing a website n i want registered users to login.

i have registration form to enter email address n password.

i would like to know how to create email ID as the username  by sending an email to them on the email address given n then activate the account as it is in most of the newsgroups.

 

can anyone help me plse

 

 

bye n regards

surekha

Link to comment
https://forums.phpfreaks.com/topic/41736-to-send-email-to-the-user/
Share on other sites

 

U can use "mail()" function avilable in PHP to send unique activation link to the user's mail-id.

 

Activation link may be a link page which contains activation link as argument.

 

eg: http://www.example.com/activate.php?id=asd34asd4r8f3

 

And u can validate that activation code in that "activate.php" page.

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.