Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45431 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3434 invoked from network); 28 Aug 2009 21:23:41 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Aug 2009 21:23:41 -0000 Authentication-Results: pb1.pair.com header.from=php.net@chris.cs278.org; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=php.net@chris.cs278.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain chris.cs278.org designates 87.230.14.38 as permitted sender) X-PHP-List-Original-Sender: php.net@chris.cs278.org X-Host-Fingerprint: 87.230.14.38 lvps87-230-14-38.dedicated.hosteurope.de Linux 2.5 (sometimes 2.4) (4) Received: from [87.230.14.38] ([87.230.14.38:41116] helo=lvps87-230-14-38.dedicated.hosteurope.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 0C/D1-28995-5DA489A4 for ; Fri, 28 Aug 2009 17:23:40 -0400 Received: from sandman.cs278.org (unknown [78.150.22.147]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "sandman.cs278.org", Issuer "CA Cert Signing Authority" (verified OK)) by lvps87-230-14-38.dedicated.hosteurope.de (Postfix) with ESMTPS id C1412EE18464; Fri, 28 Aug 2009 23:23:29 +0200 (CEST) Received: from sandman.cs278.org (localhost [127.0.0.1]) by sandman.cs278.org (Postfix) with ESMTP id 51ACD2BDD6; Fri, 28 Aug 2009 22:23:27 +0100 (BST) Received: from [192.168.0.219] (kinslayer.home.cs278.org [192.168.0.219]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: chris@cs278.org) by sandman.cs278.org (Postfix) with ESMTPSA id 38C102BBF3; Fri, 28 Aug 2009 22:23:27 +0100 (BST) Message-ID: <4A984ACE.2070802@chris.cs278.org> Date: Fri, 28 Aug 2009 22:23:26 +0100 User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: Richard Lynch CC: Joey Smith , internals@lists.php.net References: <4A8EC373.8040002@chris.cs278.org> <20090821191145.GA9393@joeysmith.com> <60984.99.18.1251493749.squirrel@www.l-i-e.com> In-Reply-To: <60984.99.18.1251493749.squirrel@www.l-i-e.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP [sandman.cs278.org] Subject: Re: [PHP-DEV] mail() and header folding/line endings From: php.net@chris.cs278.org (Chris Smith) 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