Re: PHP 4.0 Bug #9489 Updated: The mail() function doesn't return the success or error

From: Date: Tue, 03 Apr 2001 17:47:23 +0000
Subject: Re: PHP 4.0 Bug #9489 Updated: The mail() function doesn't return the success or error
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-50726@lists.php.net to get a copy of this message
Dear Jani, > The mail() function returns either TRUE if mail was sent and FALSE if > not. That's not correct. The mail() function gives NO result back, if the mail was sent and NO result, if the mail was not sent. > Or what return value did you mean? > Does it always return FALSE? I've outputed the return value by using the following code: $Result = mail(...) echo "-$Result-"; The output was "--"! > p.s. Tested with latest CVS and it works just fine. Right now I have no time to compile the lastest version, I'm sorry. On "Wed, 28 Feb 2001" you wrote to me to test the actual CVS snapshot. On this day the problem was present in the actual CVS snapshot. So if nobody has modified the mail() function I think the problem is still present. After reading a lot of other problem I think the problem is still present. Nils Hoyer > Previous Comments: > --------------------------------------------------------------------------- > > [2001-02-27 18:03:29] Support@Star-Tools.com > The mail() function give no return value since 4.0.3. > > In earlier version I've got a return value if the mail has been sent or not. > > I've tried to set the sendmail_path in the php.ini without success. > > Nils Hoyer > > --------------------------------------------------------------------------- > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at > http://bugs.php.net/?id=9489&edit=2 -- _______________________________________________________________________ Star-Tools GmbH, Hopfenweg 207, 22851 Norderstedt, Germany http://www.star-tools.com/

« previous php.dev (#50726) next »