Re: mail() and header folding/line endings

From: Date: Thu, 10 Sep 2009 20:20:24 +0000
Subject: Re: mail() and header folding/line endings
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-45559@lists.php.net to get a copy of this message
On Fri, August 28, 2009 4:23 pm, Chris Smith wrote: > 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 Sorry. I was thinking of Manuel Lemos' SMTP class oft-used on Un*x to provide SMTP support, rather than the built-in mail() function. -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch

« previous php.internals (#45559) next »