I am trying to have a script send form data via e-mail yet I can't get the line breaks to work at all. My messages come to my inbox all in one line with the "/n" still in them. I can't ge this code to work. Any help you could give would be great.
Here is the section causing problems...
$to = "REMOVED@REMOVED.net";
$subject = "REMOVED";
$emailf = "From: [email]do-not-reply@REMOVED.com[/email]\nX-Mailer: SupaMail\n";
$body = 'This From Was Sent To You Via A Robot!'."\n"."Please Do Not Reply To This Message\n\n\n".$First_Name." ".$Last_Name." sent in info!"."\nThe user claims this form was submitted: ".$Todays_Date." (for an accurate date check the date on this very e-mail message)"."\n\n\nBelow is all the contact info the form collected\n".$Contact_Person." (".$Contact_Phone.")\n".$Organization." \n".$Address."\n\nRequested Date For Demo: ".$Date_For_Demo."\nEvent Type: ".$Event_Type."\nHow Did You Hear About Us: ".$How_Did_You_Hear_About_Us."\nRefereed By: ".$Refereed_By"\n\nWhy Should We Select You?\n".$Why_Should_We_Select_You."\n\n\n-----------------------------------------\nSent via SupaMail ";
mail($to, $subject, $body, $emailf);
😕 🙂