Re: any reason why mail() returns a false value?

From: Date: Fri, 21 Jun 2002 21:19:55 +0000
Subject: Re: any reason why mail() returns a false value?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-103343@lists.php.net to get a copy of this message
Hello, On 06/21/2002 01:15 PM, Erik Price wrote:
FRUSTRATION. I figured it was time to upgrade PHP anyway since I was using 4.1.2 and then there's that Apache security problem, so I upgraded that too. And my sendmail problem is still present -- every time I try to call the "mail()" function, even with the simplest of arguments (the first three required arguments, all three of them simple string literals: mail('pricee@hhbrown.com', 'SubjectString', 'BodyText')), it fails. No email is sent, the return value of the function, when cast to integer, is zero, and I have thoroughly tested that sendmail works just fine. It is a RedHat 7.2 server, if that matters (though I don't think it does). I have done all of my compiling as root, and /usr/sbin/sendmail was definitely in my PATH.
I haven't checkec this, but did you remove config.cache or did make distclean before going through configure again? -- Regards, Manuel Lemos

« previous php.general (#103343) next »