Re: Mail bug..
| From: | Melvyn Sopacua | Date: | Wed, 05 Jun 2002 05:50:12 +0000 |
| Subject: | Re: Mail bug.. | ||
| References: | 1 | Groups: | php.qa |
| Request: | Send a blank email to php-qa+get-5501@lists.php.net to get a copy of this message | ||
At 04:13 5-6-2002, Sascha Schumann shared with all of us:
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:Yes - you gave exactly the right answer: So why is ext/standard/mail.c not converting all ([^\r])\n to $1\r\n and is win32/sendmail.c the one that has the problem? Met vriendelijke groeten / With kind regards, IDG.nl Melvyn Sopacua WebmasterIt is the mail function which is responsible.