To make this work on my server (bluehost), I also had to use the fifth parameter (for example, "$ Additional"), as shown below:
$headers = "From: joe.smith@shaw.ca\r\nReply-To: joe.smith@shaw.ca";
$additional = "-rjoe.smith@shaw.ca";
mail("fred.jones@shaw.ca", "Subject", "Message",$headers, $additional);
source
share