On 27-Mar-2003 Jason Wong wrote: > On Wednesday 26 March 2003 23:01, -{ Rene Brehmer }- wrote: > >> ><CRLF> is not an overkill. That is the specs. Some MTAs (sendmail in >> >particular) will treat a single LF (\n) as a line termination as thus >> >you >> > can get away with it. >> >> On unix machines you can do with just a linefeed, on CPM/DOS-based >> systems >> (that is, DOS & Windows), you need CRLF... > > This has nothing to do with the OS. It is to do with the specs (RFC-822). >
Not entirely accurate. It has to do with how you connect to the MTA. RFC822 only applies to SMTP 'on the wire' and internal delivery formats are outside the scope. There are alot of UUCP class 1 sites out there, and X.400, and JNT, and ... None of which follows RFC822 unless they gateway to SMTP. Since MS-Windows doesn't have a native command-line mailer --PHP has to handle the connection to the gateway host and thus falls under 822. The 'must have <CRLF>' rule is the lowest common denominator needed to support a mis-functional (albeit very popular) platform: MS-Windows. > -- > Jason Wong -> Gremlins Associates -> www.gremlins.biz > Open Source Software Systems Integrators > * Web Design & Hosting * Internet & Intranet Applications Development * Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. (53kr33t w0rdz: sql table query) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php