[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linebreaks \r\n



Malte Hubner <malte@huebner.com> wrote:
> 
> My work is to replace \r\n with \n now. But what I don't understand is, why
> is it possible on any other server to send \r\n mails with sendmail or
> qmail-sendmail through PHP mail()?

Likely its just that "real" sendmail "helpfully" (and silently) removes the
superfluous CR characters on input.  Silently munging a users' mail is not
something that qmail does, and is not (in general) a great idea.  It violates
the principle of least surprise.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <qmail@discworld.dyndns.org>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------