corkg Posted June 16, 2007 Share Posted June 16, 2007 HI I have this code but it does not work yet. It does not send a mail. Is there something I have done wrong. $userid = mysql_insert_id(); // Let's mail the user! $subject = "Mafia Revolutions (NEW ACCOUNT)"; $message = "$reg_username, Hello $reg_username , thank you for choosing Mafia Revolutions your login information is below. Click to activate:http://www.mafia-revolutions.com/game/activate.php?id=$userid&code=$random_password22&r=$from_user Login Information: Username: $reg_username Password: $random_password22 Thanks Staff. This is an automated response, please do not reply! Thankyou Managment"; mail($email, $subject, $message, "From: Mafia Revolutions<noreply@http://www.mafia-revolutions.co.uk>"); $message= 'Account created, check email. '; } }}}}} Quote Link to comment https://forums.phpfreaks.com/topic/55843-mail-registrants/ Share on other sites More sharing options...
corkg Posted June 16, 2007 Author Share Posted June 16, 2007 I don't think my hosts support email sent by php. Is there anyway around this? Quote Link to comment https://forums.phpfreaks.com/topic/55843-mail-registrants/#findComment-275929 Share on other sites More sharing options...
corkg Posted June 17, 2007 Author Share Posted June 17, 2007 My hosts say that they support php forms why does this not work then? Quote Link to comment https://forums.phpfreaks.com/topic/55843-mail-registrants/#findComment-276296 Share on other sites More sharing options...
corkg Posted June 17, 2007 Author Share Posted June 17, 2007 Is it a Windows server issue? Should I change to Linux? Quote Link to comment https://forums.phpfreaks.com/topic/55843-mail-registrants/#findComment-276302 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.