Re: mail() help (fwd)

From: Date: Wed, 01 Aug 2001 01:27:12 +0000
Subject: Re: mail() help (fwd)
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61700@lists.php.net to get a copy of this message
This is most likely the patch that 'broke' it; ---------------------------- revision 1.121 date: 2001/02/21 07:39:13; author: sas; state: Exp; lines: +2 -2 Instead of assuming that sendmail lives in /usr/lib, if we don't find it, we also check /usr/lib now. PR: #9362 ---------------------------- -AC_PATH_PROG(PROG_SENDMAIL, sendmail, /usr/lib/sendmail, $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib) +AC_PATH_PROG(PROG_SENDMAIL, sendmail,[], $PATH:/usr/bin:/usr/sbin:/usr/etc:/etc:/usr/ucblib:/usr/lib) I think this is good. If some resource isn't available, then the function using the resource shouldn't be enabled either. So the correct fix would be to add a error message to mail() function, IMO. --Jani On Tue, 17 Jul 2001, Rasmus Lerdorf wrote: >I am not a fan of that config change that happened in 4.0.6 that checked >to see if a sendmail binary is on the path and if it isn't it disables the >mail() function at compile time. I really think this should be a simple >warning so people can configure php to point to whatever they want, or >simply install sendmail afterwards and not need to recompile PHP. Could >whoever made this change please fix it? > >-Rasmus > >---------- Forwarded message ---------- >Date: Tue, 17 Jul 2001 06:38:49 -0500 >From: Patrick W. Rateliff <pwrateliff@isd194.k12.mn.us> >To: php-general@lists.php.net >Subject: [PHP] mail() help > >I am getting this error when using the trying to use the mail function. Any >insite will help, I have been up for too long working on a few projects and >my brain is damn near melted. > > >mail() is not supported in this PHP build in > >so when I built PHP 4.06 I am assuming I missed a option, but just want to >make sure before i head back and re-do things. Is there a simple option to >turn on the mail support. > > > >

« previous php.dev (#61700) next »