Re: mail(): carriage return required??
| From: | CC Zona | Date: | Fri, 23 Mar 2001 00:16:19 +0000 |
| Subject: | Re: mail(): carriage return required?? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-45221@lists.php.net to get a copy of this message | ||
In article <LDEJKELAIIIJBGNGHMHPAEEHCCAA.eelco@bitnetics.com>,
eelco@bitnetics.com (Eelco de Vries) wrote:
> "this is line 1
> this is line 2
> this the 3rd
> etc
> etc"
>
> 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.
--
CC