Re: Mail bug..

From: Date: Tue, 04 Jun 2002 18:26:25 +0000
Subject: Re: Mail bug..
References: 1  Groups: php.qa 
Request: Send a blank email to php-qa+get-5481@lists.php.net to get a copy of this message
At 20:07 6/4/2002 +0200, Sascha Schumann wrote:
On Tue, 4 Jun 2002, Markus Fischer wrote:
    Hi,
    again, I do not plan to revert he behaviour because all in
    all it was severly broken.
    The aim of mail() is to provide an abstract
    system-independent interface for sending mail.  If it would
    not be portable, we should not hide the two distinct
    functionalities (talking to sendmail vs. SMTP) and make these
    directly accessible to users.
    If the current release branch introduces a requirement which
    renders mail() unportable, I would consider it to be a
    showstopper, because it puts the burden of code audits onto
    users without any clear benefit.
This is a question of standard compliance v.s. making it work. SMTP protocol dictates \r\n. Since sendmail forking isn't really SMTP and it was the basis for the mail() function - this is questionable - I would say the burdon of lineend conversion lies with the client - just a matter of what is the responsible client in this pipeline: -- sendmail -- the mail function -- the scripter Met vriendelijke groeten / With kind regards, Webmaster IDG.nl Melvyn Sopacua

« previous php.qa (#5481) next »