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

From: Date: Fri, 31 Aug 2001 13:47:09 +0000
Subject: 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-64811@lists.php.net to get a copy of this message
ID: 9489 Updated by: sander Reported By: Support@Star-Tools.com Old Status: Open Status: Closed Bug Type: Mail related Operating System: solaris and freebsd PHP Version: 4.0.4pl1 New Comment: Works fine with PHP-4.0.6 Previous Comments: ------------------------------------------------------------------------ [2001-04-13 12:55:06] Support@Star-Tools.com I get always return FALSE since version 4.0.3. (Up to version 4.0.2 I got True if the mail was sent.) Nils PS Tested on 2001-02-27 with the latest CVS and it's don't works fine. ------------------------------------------------------------------------ [2001-04-03 09:56:40] sniper@php.net The mail() function returns either TRUE if mail was sent and FALSE if not. Or what return value did you mean? Does it always return FALSE? --Jani p.s. Tested with latest CVS and it works just fine. ------------------------------------------------------------------------ [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 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=9489&edit=1

« previous php.dev (#64811) next »