php.net |  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
8 + 37 = ?
Subscribe to this entry?

 
 [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-

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-03-15 07:09 UTC] 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 07:30 UTC] 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 19:52 UTC] 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.
 [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 
somewhere.
 [2010-09-22 23:15 UTC] s dot hajric at hs-hkb dot ba
dhhfjfgjfjf
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 15:01:29 2024 UTC