New line on php mail from customer end

please i am trying to make the message show on newline as the customer type it, but i am getting /r/n between each line and also trying to make the $body .= $_SESSION[‘username’]; appear on a separate line the code is below

    
$body .= $_SESSION['username'];
    $body .= $message;
    $to = $email;
   $subject = "copy of your notification"; 
$headers = "From: [email]noti@r.co.uk[/email]\\r\
";  
$headers  .= 'MIME-Version: 1.0' . "\\r\
";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\\r\
";
$headers .= 'Bcc:noti@r.co.uk' . "\\r\
";
mail($to,$subject,$body,$headers);
    }
    }  
?>


<p>
<form action='notification.php' method='Post' class='rl'>
    <div>
    <label for='message' class='fixedwidth'>Message</label>
    <textarea name="message" rows ="7" cols="40" id="message"></textarea>
    </div>

    <div class='buttonarea'>
            <p>
            <input type='submit' name='notify' value='Notify'>
            </p>
            </div>
            </p>
</form>

What do you with the $message?

AS long as you are sending html mail you can choose to use <br /> instead of newlines. Maybe with the function nl2br();

@RvanD85 the $message
should be the message from the customer
i tried this


$body .= $_SESSION['username'];
    $body .= nl2br($message);

but i got same result

Remove \r and see if it works.

This article explains why if it does.

You could try something like this:

$user = $_SESSION['username'];

$body = 
$user.'
'.$message;

or

$user = $_SESSION['username'];

$body = 
"$user\
" .  
"$message";

@ralph i used


$body = $_SESSION['username']. "<br>"
         . nl2br($_POST['message']);

and its working