Code:
This isn't sending.PHP Code:$to = "me@me.com";
$subject = "Question from the Fact or Fiction Forum";
$from = "you@you.com";
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: '.$from.'';
$message = '
<html>
<head>
<title>Question from the Fact or Fiction Forum</title>
</head>
<body>
This question is from <b>'.$name.'</b> with the email address <b>'.$email.'.<br>
Here\'s the question:<br>
'.$question.'<br><br>
<a href="">Click here to answer the question.</a><br><br>
</body>
</html>';
mail($to,$subject,$message,$headers);
Any help would be appreciated! THANKS!



Reply With Quote

Bookmarks