Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:30765 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78416 invoked by uid 1010); 11 Jul 2007 07:01:07 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78395 invoked from network); 11 Jul 2007 07:01:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jul 2007 07:01:06 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.171 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.171 outbound.mailhop.org FreeBSD 4.6-4.9 Received: from [63.208.196.171] ([63.208.196.171:4976] helo=outbound.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7F/44-34337-92084964 for ; Wed, 11 Jul 2007 03:00:59 -0400 Received: from [81.22.163.71] (helo=[10.6.109.86]) by outbound.mailhop.org with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.63) (envelope-from ) id 1I8WBt-0000sg-AR; Wed, 11 Jul 2007 03:00:49 -0400 X-MHO-User: U2FsdGVkX19jM67ZcLf8XDUuA+/wHWXxD3Y6zsXyy5k= X-MHO-User: U2FsdGVkX19U2SfAs62aCGfcCoa49dTjIag6uJxtqTM= X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 81.22.163.71 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+GWhcQq0/OFzfCFyobKesWB6AWrPuPSmg= Reply-To: jani.taskinen@iki.fi To: Johannes =?ISO-8859-1?Q?Schl=FCter?= Cc: jani.taskinen@iki.fi, PHP Internals List In-Reply-To: <1184105325.455.45.camel@johannes.nop> References: <1184102707.455.42.camel@johannes.nop> <4693FEE4.7070704@sci.fi> <1184105325.455.45.camel@johannes.nop> Content-Type: text/plain; charset=UTF-8 Date: Wed, 11 Jul 2007 10:00:48 +0300 Message-ID: <1184137248.3342.1.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] Always enable mail() function From: jani.taskinen@sci.fi (Jani Taskinen) On Wed, 2007-07-11 at 00:08 +0200, Johannes Schl=C3=BCter wrote: > On Wed, 2007-07-11 at 00:49 +0300, Jani Taskinen wrote: > > So what happens when sendmail really does not exist? >=20 > The same as if you configure sendmail_path wrong or move you binary to a > host where it is missing: mail() returns false. I forgot there was such ini option. :D But doesn't it give any error for such case? I think it should in case sendmail_path is empty or pointing to something that doesn't exist..? Just commit the patch. I'll remove the configure stuff for you. :) --Jani