Forum Moderators: coopster
The code is shown below:
//GETTING THE VARIOUS DETAILS//SENDER'S NAME
$name = $_POST['name'];//SENDER'S EMAIL ADDRESS
$their_email = $_POST['email'];//SUBJECT OF EMAIL
$subject = $_POST['subject'];//EMAIL MESSAGE
$message = $_POST['message'];//DESTINATION EMAIL ADDRESS
$sending_to = "me@example.com";mail ($sending_to,$subject,$message,"From: $name (['$their_email'])");
//PRINTING THANK YOU
echo "<html>\n
<head>\n
<title>Oven Roast designs :: Thank You!</title>\n
<link href=\"../styles.css\" rel=\"stylesheet\" type=\"text/css\" />\n
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\" />\n
</head>";
echo "<body>";
echo "
<table class=\"center\">
<tr>
<td id=\"content-cell\">
Thank you for taking the time to contact us. We will reply to your message as soon as we can.
</td>
</tr>
</table>";
echo "</body>\n
</html>";
The problem is that no email is actually sent, although there are no errors that show.
If anyone can help me, it would be really appreciated!
[edited by: jatar_k at 6:08 am (utc) on Mar. 6, 2006]
[edit reason] generalized [/edit]
Try this thread:
[webmasterworld.com...]
dc