hmmm same so far. here's what I just tried:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtm
<html xmlns="http://www.w3.org/1
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
echo "<p>Thank you, <b>".$_POST["Name"]."</b>, for your message!</p>";
echo "<p>Your e-mail address is: <b>".$_POST["email"]."</b>.</p>"
echo "<p>Your message was:<br />";
echo $_POST["yardsign"]." </p>";
echo $_POST["campaign"]." </p>";
echo $_POST["name"]." </p>";
echo $_POST["address"]." </p>";
echo $_POST["city"]." </p>";
echo $_POST["telephone"]." </p>";
echo $_POST["best_time_to_call"
echo $_POST["email"]." </p>";
//start building the mail string
$msg = "Yard Sign: ".$_POST["yardsign"]."\n";
$msg .= "Campaign Help: ".$_POST["campaign"]."\n";
$msg .= "Name: ".$_POST["Name"]."\n";
$msg .= "Address: ".$_POST["address"]."\n";
$msg .= "City: ".$_POST["city"]."\n";
$msg .= "Telephone: ".$_POST["telephone"]."\n"
$msg .= "Best Time To Call: ".$_POST["best_time_to_cal
$msg .= "EMail Address: ".$_POST["email"]."\n";
//set up the mail
$recipient = "mail@edvinson.com \r\n";
$subject = "Form Submission Results \r\n";
$mailheaders = "From: Chuck Betts Mayor.com <mail@edvinson.com> \r\n";
$mailheaders .= "Reply-To: ".$_POST["email"]. "\r\n";
//send the mail
mail($recipient, $subject, $msg, $mailheaders);
?>
</body>
</html>
Main Topics
Browse All Topics





by: TiberiuGalPosted on 2009-09-16 at 14:30:17ID: 25350401
Hi,
Try to add \r\n at the end of the lines (especially in the headers)
$mailheaders = "From: Chuck Betts Mayor.com <mail@edvinson.com>\r\n";
$mailheaders .= "Reply-To: ".$_POST["email"]."\r\n";