However when im trying to make it work, it won't come up with any error messages, but i never receive the mail. Could someone please take a look at this...
$to = $email; $subject = "Welcome to ..."; $body = "Hello, and thank you for registering for my game, ...<br />, just go back to the website to login and start playing!<br /> I look forward to seeing you.<br />Regards, The .. team"; $headers = "From: email@example.com\n"; mail($to,$subject,$body,$headers); header("Location: home.php");
And i have set $email with the value of the person there.
And the worst part is, i have made it work before!
Thanks in Advance,