Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 94336 invoked by uid 1010); 10 Jul 2007 22:23:18 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 94321 invoked from network); 10 Jul 2007 22:23:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Jul 2007 22:23:18 -0000 Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.114 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 63.205.162.114 unknown Windows 2000 SP4, XP SP1 Received: from [63.205.162.114] ([63.205.162.114:26951] helo=us-ex1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 99/04-63792-3C604964 for ; Tue, 10 Jul 2007 18:23:00 -0400 Received: from [127.0.0.1] ([192.168.16.180]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 10 Jul 2007 15:22:57 -0700 Message-ID: <469406BF.1000109@zend.com> Date: Tue, 10 Jul 2007 15:22:55 -0700 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Johannes_Schl=FCter?= CC: jani.taskinen@iki.fi, PHP Internals List References: <1184102707.455.42.camel@johannes.nop> <4693FEE4.7070704@sci.fi> <1184105325.455.45.camel@johannes.nop> In-Reply-To: <1184105325.455.45.camel@johannes.nop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 10 Jul 2007 22:22:57.0227 (UTC) FILETIME=[DDF199B0:01C7C340] Subject: Re: [PHP-DEV] Always enable mail() function From: stas@zend.com (Stanislav Malyshev) > The same as if you configure sendmail_oath wrong or move you binary to a > host where it is missing: mail() returns false. I think it's a correct approach - the fact that sendmail wasn't installed (or installed incorrectly maybe) on build machine shouldn't prevent PHP from sending mail of production machine. If production machine doesn't have sendmail - mail() would fail as would any other function, such as database connection, when environment is not set up correctly. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com