We have a form text area field below, but when we process the code, the body of the email does not appear the way it was entered in the form.
It should appear with line breaks, but instead it appears as one line of text.
Should appear like :
Thanks for the meeting today.
But appears like
Hi Client, Thanks for the meeting today. Regards.
<textarea cols="45" rows="9" name="email_message_one">This message will go to the client.</textarea>
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
if (!isset($_POST['email_message_one'])) $email_message_one = ''; else $email_message_one = $_POST['email_message_one'];
Any help would be appreciated.