I am  trying to get the message portion of the email to have line breaks,
but  whatever I do it displays on one line. This is what I have.

$message = "1st Line\n";
$message .= "2nd Line\n";
$message .= "\n";
$message .= "3rd Line\n";
$message .= "\n";
$message .= "4th Line\n";

mail ("", $subject, $message, $headers);


As far as I've encountered, you can simply do the following:


$message = "
This is the message I
wish to send with linebreaks...

all the way down here.

mail ("", $subject, $message, $headers);


Kyle Gibson

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to