Re: mail() and header folding/line endings

From: Date: Fri, 28 Aug 2009 21:23:26 +0000
Subject: Re: mail() and header folding/line endings
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-45431@lists.php.net to get a copy of this message
Richard Lynch wrote: >> Then Chris Smith wrote: >> It is simple to detect the method used, SMTP is used if sendmail_path >> is empty and the system is Windows, otherwise sendmail is used. > > I think you should revise this to be "if sendmail_path is empty". > > Many *nix folks use SMTP as well... The SMTP function of mail() only works under Windows. [1] Regards, Chris [1] http://svn.php.net/viewvc/php/php-src/tags/php_5_3_0/ext/standard/mail.c?view=markup#l252 -- Chris Smith

« previous php.internals (#45431) next »