ID: 14032 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: No Feedback Bug Type: Mail related Operating System: FreeBSD 4.2 PHP Version: 4.0.6 New Comment:
Using FreeBSD virtual server (verio) I have the same problem - mail() always returns false. Jolyon Previous Comments: ------------------------------------------------------------------------ [2002-07-03 09:01:42] [EMAIL PROTECTED] O.K. I hack php's mail.c little bit. I added following code after pclose(). ... fprintf(sendmail, "\n%s\n", message); ret = pclose(sendmail); // start of debuging code php_error(E_WARNING, "%d,%d,%s", ret, errno, strerror(errno)); // end of debuging code #ifdef PHP_WIN32 if (ret == -1) #else ... and php said [03-Jul-2002 21:54:13] PHP Warning: -1,10,No child processes in /web/ch2001/phpdocs/public/icard/test_post.php on line 11 Do you know what this mean? ------------------------------------------------------------------------ [2002-07-03 08:39:45] [EMAIL PROTECTED] Oh! I forgot one thing. My php is compiled as cgi. not mod_php. ------------------------------------------------------------------------ [2002-07-03 08:37:10] [EMAIL PROTECTED] I have same experience with my solaris box. My machine is Ultra-60 server running Solaris 8. PHP 4.2.1 and 4.1.2 occur same result. Even mail() returns empty value, test mails are posted successfully. Same code run on linux box, very well. No problem on linux. ------------------------------------------------------------------------ [2002-03-07 00:00:04] [EMAIL PROTECTED] No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-02-18 03:08:21] [EMAIL PROTECTED] I'm seeing this same problem. mail() always returns false (looks like a null string). I'm also on FreeBSD with the same version of SendMail (8.11.6) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/14032 -- Edit this bug report at http://bugs.php.net/?id=14032&edit=1