Re: [PHP-DEV] Always enable mail() function

2007-07-11 Thread Richard Lynch
On Tue, July 10, 2007 4:49 pm, Jani Taskinen wrote: >> I'd like to commit the attached patch which should always enable >> mail(), >> any objections? +1 I don't see any reason why I should have to install sendmail before I install PHP. PHP is way more important than sendmail, after all. :-) It'

Re: [PHP-DEV] Always enable mail() function

2007-07-11 Thread Jani Taskinen
On Wed, 2007-07-11 at 11:36 +0200, Johannes Schlüter wrote: > Hi, > > On Wed, 2007-07-11 at 10:00 +0300, Jani Taskinen wrote: > > Just commit the patch. I'll remove the configure stuff for you. :) > > Well, I kept the configure stuff to set the default value of the ini > setting when sendmail is

Re: [PHP-DEV] Always enable mail() function

2007-07-11 Thread Johannes Schlüter
Hi, On Wed, 2007-07-11 at 10:00 +0300, Jani Taskinen wrote: > Just commit the patch. I'll remove the configure stuff for you. :) Well, I kept the configure stuff to set the default value of the ini setting when sendmail is found. johannes -- PHP Internals - PHP Runtime Development Mailing List

Re: [PHP-DEV] Always enable mail() function

2007-07-11 Thread Antony Dovgal
No objections from me. On 11.07.2007 01:25, Johannes Schlüter wrote: Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I can image a few situations where the binary is in a non-standard location or

Re: [PHP-DEV] Always enable mail() function

2007-07-11 Thread Jani Taskinen
On Wed, 2007-07-11 at 00:08 +0200, Johannes Schlüter wrote: > On Wed, 2007-07-11 at 00:49 +0300, Jani Taskinen wrote: > > So what happens when sendmail really does not exist? > > The same as if you configure sendmail_path wrong or move you binary to a > host where it is missing: mail() returns fal

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread Cristian Rodriguez
On 7/10/07, Johannes Schlüter <[EMAIL PROTECTED]> wrote: Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I suspect there is no real reason, I have always wondered why is like that. I can image

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread 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 produc

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread Johannes Schlüter
On Wed, 2007-07-11 at 00:49 +0300, Jani Taskinen wrote: > So what happens when sendmail really does not exist? The same as if you configure sendmail_oath wrong or move you binary to a host where it is missing: mail() returns false. johannes -- PHP Internals - PHP Runtime Development Mailing Lis

Re: [PHP-DEV] Always enable mail() function

2007-07-10 Thread Jani Taskinen
So what happens when sendmail really does not exist? --Jani Johannes Schlüter kirjoitti: Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I can image a few situations where the binary is in a non-

[PHP-DEV] Always enable mail() function

2007-07-10 Thread Johannes Schlüter
Hi, recently I had the problem that we disable the mail() function if configure can't find the sendmail binary. Is there any real reason for this? I can image a few situations where the binary is in a non-standard location or PHP is compiled on a different host than used. I'd like to commit the a