I am trying to send out an e-mail without HTML for once.
$headers = "MIME-Version: 1.0\r\n";
//$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: $from_email\r\n";
$headers .= "Reply-To: $from_email\r\n" ;
mail($_POST['friend_emails'], $_POST['your_name']." has sent you a message!", $content, $headers, "-f".$from_email);
The problem is if I comment out the HTML line it just shows the headers within the e-mail. I take it out and it 's HTML again obviously. I just need a basic e-mail with 3 new lines and the "from" field to show correctly without HTML. Messing around I either got from my server or blank.