php.net |  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
Votes:10
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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: dfelteau at isx dot com
New email:
PHP Version: OS:

 

 [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:
<?php
mail("dfelteau@isx.com","Test Subject","This is a test.","Reply-To:webmaster@isx
.com","-fwebmaster@isx.com");
?>

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

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'
smtp_port=25

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] sniper@php.net
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] sniper@php.net
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 Mar 19 06:01:30 2024 UTC