Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45559 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 20668 invoked from network); 10 Sep 2009 20:20:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2009 20:20:24 -0000 Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain l-i-e.com designates 67.139.134.202 as permitted sender) X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from [67.139.134.202] ([67.139.134.202:2918] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 35/C8-04465-78F59AA4 for ; Thu, 10 Sep 2009 16:20:24 -0400 Received: (qmail 31425 invoked by uid 98); 10 Sep 2009 20:20:24 -0000 Received: from localhost by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-2.05 (clamdscan: 0.88.7/9791. Clear:RC:1(127.0.0.1):. Processed in 0.072861 secs); 10 Sep 2009 20:20:24 -0000 Received: from localhost (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 10 Sep 2009 20:20:24 -0000 Received: from webmail (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Thu, 10 Sep 2009 15:20:24 -0500 (CDT) Message-ID: <50758.173.1252614024.squirrel@www.l-i-e.com> In-Reply-To: <4A984ACE.2070802@chris.cs278.org> References: <4A8EC373.8040002@chris.cs278.org> <20090821191145.GA9393@joeysmith.com> <60984.99.18.1251493749.squirrel@www.l-i-e.com> <4A984ACE.2070802@chris.cs278.org> Date: Thu, 10 Sep 2009 15:20:24 -0500 (CDT) To: "Chris Smith" Cc: "Joey Smith" , internals@lists.php.net User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] mail() and header folding/line endings From: ceo@l-i-e.com ("Richard Lynch") 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