Hello guys,
I have created this PHP script:
But I don't receive any e-mails to my e-mail (and I do have writen my proper email address into $to), have I done something wrong? Or is the mail function disabled for free x10hosting users? Please help me out.
I have created this PHP script:
PHP:
$to = $_POST["email"];
$subject = "FW-Bestilling.DK - Dit brugernavn";
$message = "<html>
<head>
<title>FW-Bestilling.DK - Dit brugernavn</title>
</head>
<body>
<p><b>Dit brugernavn er:</b> ".$row["user_username"]."</p>
</body>
</html>";
$message = wordwrap($message, 70, "\r\n");
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: test <noreply@test.dk>\r\n";
mail($to, $subject, $message, $headers);
But I don't receive any e-mails to my e-mail (and I do have writen my proper email address into $to), have I done something wrong? Or is the mail function disabled for free x10hosting users? Please help me out.