Forum Moderators: coopster
I'm having a strange problem with the code below, I am trying to get it to place 3 line breaks after the $message (so i can then display: sent by: $name - $from) but it wont even break a single line?
[php]
$body="$message\n\n\n sent by: $name - $from";
$from="\"$name\" <$from>\n";
$headers="Content-Type: text/html; charset=Windows-1252\n";
$headers.="From: $from \n";
mail($to,$subject,$body,$headers);
[/php]
Any advice would be greatly appreciated.