On Friday 23 March 2001 06:57, you wrote:
> Hi all,
>
> First I had a problem that text from a textarea form object passed to
> mail() ended up as a single line of text in MS Outlook.
> I changed the newlines to newlines _with_ carriage returns:
> strtr($mailbody, "\n", "\r\n");

Re-read the description of strtr. Hint:

> empty line between each line. (the "\r" alone ends up the same as
> "\r\n").

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it's the only thing that ever has."

- Margaret Mead

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to