ID:               14032
 Updated by:       [EMAIL PROTECTED]
 Reported By:      tetranz at yahoo dot com
-Status:           No Feedback
+Status:           Closed
 Bug Type:         Mail related
 Operating System: FreeBSD 4.2
 PHP Version:      4.0.6
 New Comment:

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------

[2002-07-03 09:01:42] scpark at gen128 dot com

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] scpark at gen128 dot com

Oh! I forgot one thing.
My php is compiled as cgi. not mod_php.

------------------------------------------------------------------------

[2002-07-03 08:37:10] scpark at gen128 dot com

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] php-bugs at lists dot php dot net

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] brett at mad dot scientist dot com

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

Reply via email to