#29269 [Opn->Csd]: when Apache in SSL, Warning: mail(): Could not execute mail delivery program
| From: | rstubbe at sit dot nl | Date: | Tue, 20 Jul 2004 18:34:44 +0000 |
| Subject: | #29269 [Opn->Csd]: when Apache in SSL, Warning: mail(): Could not execute mail delivery program | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63181@lists.php.net to get a copy of this message | ||
ID: 29269
User updated by: rstubbe at sit dot nl
Reported By: rstubbe at sit dot nl
-Status: Open
+Status: Closed
Bug Type: Apache related
Operating System: Solaris 9
PHP Version: 4.3.8
New Comment:
Actually is is relate to apache. After some debugging it seems that
apache is not able to open more streams, with the error "could not
execute" as a result.
Previous Comments:
------------------------------------------------------------------------
[2004-07-20 09:11:10] rstubbe at sit dot nl
Please note: the sensmail binary is in the correct location, as
otherwise the problem should also exist when the apache server is
started in non SSL mode, but then it works.
------------------------------------------------------------------------
[2004-07-20 02:42:13] iliaa@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
The error explains that the sendmail binary needed to send
the e-mail via PHP is either not present or not executable.
Fix that problem and PHP will be able to send e-mail.
------------------------------------------------------------------------
[2004-07-20 00:55:54] rstubbe at sit dot nl
Description:
------------
When the Apache server is started with SSL support when calling the
mail() function the following error occures:
Warning: mail(): Could not execute mail delivery program
'/usr/lib/sendmail -t -i ' in
/export/home/digiprin/digiprints.nl/index.php on line 1266
NOTE: the problem does not occure when the apache server is started
without SSL support
Sendmail is the latest version 8.12.11
Apache is the latest version 2.0.50
Reproduce code:
---------------
mail($email, "Uw bestelling",$message,$header);
Expected result:
----------------
email to be send
Actual result:
--------------
Warning: mail(): Could not execute mail delivery program
'/usr/lib/sendmail -t -i ' in
/export/home/digiprin/digiprints.nl/index.php on line 1266
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29269&edit=1