#16093 [Com]: mail does not work
| From: | mark at intuitiveisp dot com | Date: | Wed, 28 Jul 2004 17:44:57 +0000 |
| Subject: | #16093 [Com]: mail does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63691@lists.php.net to get a copy of this message | ||
ID: 16093
Comment by: mark at intuitiveisp dot com
Reported By: sc2 at gmx dot at
Status: Bogus
Bug Type: Mail related
Operating System: suse 7.1
PHP Version: 4.1.2
New Comment:
This is a Bug... It should return true or false 100% of the
time... If it can't get a shell it should log an error
somewhere.
Previous Comments:
------------------------------------------------------------------------
[2002-03-15 19:52:04] mfischer@php.net
PHP needs an executeable shell to run the sendmail binary; make sure a
sheel is executeable at least by the apache user (/bin/sh or
/bin/bash).
Anyway it's a system configuration error, not a PHP bug.
------------------------------------------------------------------------
[2002-03-15 07:30:53] sc2 at gmx dot at
>What's the return value of mail(), is it false ?
nope
>Have you tried calling sendmail from command line if it >properly
works?
this works fine, it works to fine to send mail from a cgi form. It only
looks that the php doesnt "contact" sendmail.
on other servers/Dist. works fine.
sorry for bad. english
------------------------------------------------------------------------
[2002-03-15 07:09:18] mfischer@php.net
What's the return value of mail(), is it false ?
Have you tried calling sendmail from command line if it properly works?
------------------------------------------------------------------------
[2002-03-15 06:27:30] sc2 at gmx dot at
The mail send function does not work.
there are no errors.
the sendmail path is correct (php.ini / configure scan) and sendmail
works fine
(manuall + cgi mail)
there no errors to see in logs.
sendmail never becomes a mail from php
(if i use a php mail script, then sendmail log neves shows
from .... > to ..... so i think php never contact sendmail to send the
mail)
on other servers (redhat and other dist.) i dont have problems with
mail functions.
if you need more information please say it.
thank you-
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16093&edit=1