> > I read the mail fine in my hotmail.com account, but when I read
> that same
> > mail in my MS Outlook client the mail is one long line of text:
> > "this is line 1 this is line 2 this the 3rd etc etc"
> >
> > I understand from this difference in layout that the 'carriage
> return' is
> > required. Is there a function that adds a 'carriage return' after every
> > 'newline' found in a string? Or is this another problem?
>
> Use \r\n for email line breaks.
>


Should I write a function that replace any corrance of '\n' with '\r\n' in a
string myself?
Hard to believe that the PHP guys haven't encountered this before and didn't
write some PHP function to do this for us, not?

Cheers;
Eelco.


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