|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20403 mail function doesn't work
Submitted: 2002-11-12 15:28 UTC Modified: 2002-11-26 20:02 UTC
Avg. Score:4.3 ± 0.9
Reproduced:9 of 9 (100.0%)
Same Version:6 (66.7%)
Same OS:5 (55.6%)
From: dfelteau at isx dot com Assigned:
Status: No Feedback Package: Mail related
PHP Version: 4.3.0-pre2 OS: Solaris 5.8
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2002-11-12 15:28 UTC] dfelteau at isx dot com
The mail function stopped working when I upgraded to the CVS snapshot (the last couple actually).  Apparently the message is being sent but not to the receipent? 

Here's a simple script:
mail("","Test Subject","This is a test.","Reply-To:webmaster@isx

Here's the /var/log/maillog:
Nov 12 16:22:51 voyager sendmail[29482]: [ID 801593] gACLMpx29482: Authentication-Warning: nobody set sender to using -f
Nov 12 16:22:51 voyager sendmail[29482]: [ID 801593] gACLMpx29482:, size=87, class=0, nrcpts=0, msgid=<>, relay=nobody@localhost


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2002-11-12 15:29 UTC]
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.

 [2002-11-12 15:42 UTC] dfelteau at isx dot com
Here is some additional information.  I see no errors when I run the included script from 12 Nov 3:28pm.  The mail never comes though.  It use to in 4.2 and below.

Apache server_software:
Apache/2.0.40 (Unix) mod_ssl/2.0.40 OpenSSL/0.9.6e PHP/4.3.0-dev DAV/2

In PHP.ini:
SMTP= localhost
sendmail_path= '/usr/lib/sendmail'

Configure command:
'./configure' '--with-config-file-path=/usr/local/apache2/conf' '--with-apxs2=/usr/local/apache2/bin/apxs' '--disable-debug' '--with-openssl=/usr/local/openssl' '--enable-calendar' '--enable-gcclib' '--enable-inline-optimization' '--enable-rule-SHARED_CODE' '--enable-shared' '--enable-safe-mode' '--enable-track-vars' '--with-mysql' '--with-gd' '--enable-gd-native-ttf' '--enable-freetype-4bit-antialias-hack' '--with-gnu-ld' '--with-zlib-dir=/usr/local/lib'
 [2002-11-12 16:59 UTC]
Check you maillog for possible errors in sending the email.
(this is not any bug in PHP btw, it works fine here)

 [2002-11-26 20:02 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue May 21 23:01:31 2024 UTC