Jump to content

Do these email headers look okay???


cooldude832

Recommended Posts

I have figured out I can't mail cause of these headers, but nor do I see an issue in them any idea???

<?php
$headers = "From: [email protected]\r\n";
$headers .= "Reply-To: [email protected]\r\n";
$headers .= "Return-Path: admin@servercom\r\n";
$headers .= "BCC: reservations@servercom\r\n";
if(mail($to,$subject,$message,$headers)) {
	header("location: ".THANK_PAGE);
}
else{
	echo "To: ".$to."<br />Subject: ".$subject."<br />Headers: ".$headers."<br /><br />".$message;
}
?>

I have checked it removing headres and it is fine so i am a bit confused

Link to comment
https://forums.phpfreaks.com/topic/78823-do-these-email-headers-look-okay/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.