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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
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-

Patches

Pull Requests

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: Wed Dec 04 22:01:29 2024 UTC