Re: correct email formatting

From: Date: Thu, 28 Sep 2000 03:40:39 +0000
Subject: Re: correct email formatting
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-17851@lists.php.net to get a copy of this message
David Robley wrote: > Funny - I just quoted that at someone here yesterday :-) > > Stab in the dark time, as I don't know for sure, but.... Looking in my > mailbox (on a Linux system), I find that it's 0A hex or linefeed which is > the system EOL marker. And a look in my NT thing's mail shows 0D0A which is > the MSDOS EOL. So my guess is - use the system EOL for whatever system you > are working on. > > Course I suppose you could do a replace in any case to convert say CRLF to > just LF or CR to LF (for Mac EOL to *nix) or somesuch. I'm on a FreeBSD box both for local development and for live pages. Does splitting on \n\r seem likely? Sorry, got no clue when it comes to linefeed, new lines, carrige returns, ASCI, and all that :) I know I could simply test it, but I was after something more reliable than "it works for this email sender, on this server, today" kinda thing. Justin French

« previous php.general (#17851) next »