Doesn't either just "\r" or just "\n" work?

Then again I've never tried using them, but I can't imagine that newline and
carriage return doesn't force a new line.

You could always send an HTML mail and use <br> instead?


--
Plutarck
Should be working on something...
...but forgot what it was.


"Pierre-Yves Lemaire" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello,
>
> ok I am getting completely crazy here, I use this to make shure
> outlook will display newlines correctly. But now I found out
> that exchange is jumping 2 lines at every newline with this...
> $msg = str_replace ( "\n", "\r\n", $msg );
>
> My question, what sould I use in order to send a long message,
> wich is coming multiple db fields to a text file to php mail(),
> so it will be formatted nicely on all email client?
> Or, is it possible?
>
>
> Any piece of code, tutorial, newsletter script, good wiches or
> old grandma's soup would be so appreciated!
>
> py
>
>
>
>
>
>
> + ======================
> + Pierre-Yves Lem@ire
> + E-MedHosting.com
> + (514) 729-8100
> + [EMAIL PROTECTED]
> + ======================
>
>
> --
> 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]
>



-- 
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