php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2606 mail function doesn't work (not sending any mail)
Submitted: 1999-10-26 11:30 UTC Modified: 1999-11-13 15:07 UTC
From: alex at newsham dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0 Beta 2 OS: Linux hq60.newsham.com 2.2.5-15
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: alex at newsham dot com
New email:
PHP Version: OS:

 

 [1999-10-26 11:30 UTC] alex at newsham dot com
script example:

#!/usr/local/src/php-4.0b2/php
<script language=php>


$res=mail("alex@newsham.com","test mail", "saludos");
 
print "hi = $res\n";

</script>



Compilation with:
./configure --enable-safe-mode \
                          --with-exec-dir=/usr/local/bin \
                          --with-mysql \
                          --enable-discard-path
    make


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-03 22:27 UTC] evan at cvs dot php dot net
What is the output of $res? Are you sure your hostname is set correctly? If possible, try the latest PHP4 CVS and report back.
 [1999-11-11 18:20 UTC] joey at cvs dot php dot net
Will close if no more info...
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Oct 12 23:00:01 2026 UTC