jefargrafx
Instructor
need more eyes on tis problem than me.
I have a php mail script that take info from a form and emails it to an address. I want the user to be able to hit the reply button and have the email to field populated with what ever the sender put on the form.
Now get this. It works perfect on my vista computer using IE(gmail), Firefox(gmail), and Outlook 2007.
But not on my clients pc under the same situation, (I've verified via remote desktop)
Anit that strange.
here's is a copy of my script.
$emailerror = "/contact/emailerror";
$redirect = "/contact/thanks";
$subject = "Leslie Wells Realty - Request Information";
$emailbody = "You have a new message from $yourname at $email.\r\n".
"<br>".
"<br>".
"Customer Comments: " . stripslashes($comments)."\n".
"<br>".
//"Customer Name: $yourname\n".
//"Customer E-mail: $email\n".
"<br>".
"$title\n".
"<br>".
"$mls\n".
"<br>".
"$lwrnum\n".
"<br>".
"<br>".
"Property Type: $type_property\n".
"<br>".
"Price Range: $price_range\n".
"<br>".
"$price\n".
"<br>".
"$viewingProp\n";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= "From: RequestInformation@lesliewellsrealty.com"."\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "Return-Path: ".$email." <".$email.">\r\n";
$headers .= "Reply-to: ".$email." <".$email.">\r\n";
if (mail($recipient,$subject,$emailbody, $headers)) {
header("location: $redirect");
} else {
header("location: $emailerror");
}
yall got any idea why this would be, anything to do with exchange???? doesn't make sense to me.
jef
I have a php mail script that take info from a form and emails it to an address. I want the user to be able to hit the reply button and have the email to field populated with what ever the sender put on the form.
Now get this. It works perfect on my vista computer using IE(gmail), Firefox(gmail), and Outlook 2007.
But not on my clients pc under the same situation, (I've verified via remote desktop)
Anit that strange.
here's is a copy of my script.
$emailerror = "/contact/emailerror";
$redirect = "/contact/thanks";
$subject = "Leslie Wells Realty - Request Information";
$emailbody = "You have a new message from $yourname at $email.\r\n".
"<br>".
"<br>".
"Customer Comments: " . stripslashes($comments)."\n".
"<br>".
//"Customer Name: $yourname\n".
//"Customer E-mail: $email\n".
"<br>".
"$title\n".
"<br>".
"$mls\n".
"<br>".
"$lwrnum\n".
"<br>".
"<br>".
"Property Type: $type_property\n".
"<br>".
"Price Range: $price_range\n".
"<br>".
"$price\n".
"<br>".
"$viewingProp\n";
$headers = "MIME-Version: 1.0" . "\r\n";
$headers .= "Content-type:text/html;charset=iso-8859-1" . "\r\n";
$headers .= "From: RequestInformation@lesliewellsrealty.com"."\r\n";
$headers .= "X-Priority: 3\r\n";
$headers .= "Return-Path: ".$email." <".$email.">\r\n";
$headers .= "Reply-to: ".$email." <".$email.">\r\n";
if (mail($recipient,$subject,$emailbody, $headers)) {
header("location: $redirect");
} else {
header("location: $emailerror");
}
yall got any idea why this would be, anything to do with exchange???? doesn't make sense to me.
jef