|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16093 mail does not work
Submitted: 2002-03-15 06:27 UTC Modified: 2002-03-15 19:52 UTC
From: sc2 at gmx dot at Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.1.2 OS: suse 7.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: sc2 at gmx dot at
New email:
PHP Version: OS:


 [2002-03-15 06:27 UTC] 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-


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-15 07:09 UTC]
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 07:30 UTC] sc2 at gmx dot at
>What's the return value of mail(), is it false ?

>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 19:52 UTC]
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.
 [2004-07-28 19:44 UTC] mark at intuitiveisp dot com
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 
 [2010-09-22 23:15 UTC] s dot hajric at hs-hkb dot ba
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jul 23 14:01:29 2024 UTC