ando321 Posted March 16, 2007 Share Posted March 16, 2007 $mailto = "[email protected]"; mail($mailto,"Registration","Thank you for registering with us. \n\nUsername: $username\nPassword: $pass\n\nClick the link below to activate your account:\n\n\n http://www.mysite.com/activision.php?c=$activsion"); This dont seem to be send me any mail.... Link to comment https://forums.phpfreaks.com/topic/42971-mail-fuction/ Share on other sites More sharing options...
powelly Posted March 16, 2007 Share Posted March 16, 2007 Here is the script I use to do the same job. $mailto = "$requiredemail"; $mailsubj = "Your Membership"; $mailhead = "From: [email protected]\n"; reset ($HTTP_POST_VARS); $mailbody = "Hi $requiredfirstname,\n\nThank you for your joining this Website \n\n All that remains to do is click the link below to activate your membership\n\nhttp://www.urlgoeshere.co.uk/activate.php?id=$id&email=$requiredemail\n\nIf you have any queries please dont hesitate to contact us.\n\nRemember your username and password are as follows:\n\nEmail Address :$requiredemail \n\nPassword:$requiredpassword \n\nKind Regards\n\nThe Management"; mail($mailto, $mailsubj, $mailbody, $mailhead); Link to comment https://forums.phpfreaks.com/topic/42971-mail-fuction/#findComment-208720 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.