#20285 [Opn->Bgs]: Undefined Function
| From: | sniper@php.net | Date: | Fri, 08 Nov 2002 01:06:42 +0000 |
| Subject: | #20285 [Opn->Bgs]: Undefined Function | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24308@lists.php.net to get a copy of this message | ||
ID: 20285
Updated by: sniper@php.net
Reported By: jonathan@rietta.com
-Status: Open
+Status: Bogus
Bug Type: Mail related
Operating System: RedHat Linux 7.1
PHP Version: 4.2.3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2002-11-06 10:51:26] jonathan@rietta.com
When I try to run any script on either of my two servers (one running
PHP 4.2.3 and one running a CVS build from several months ago) mail()
mysteriously crashes and spits out the following error:
PHP Fatal error: Call to undefined function: mail() in mailtester.php
on line 2
The code tripping the error is as follows:
<?php
mail("e-mail@hidden.txt", "Test", "This is a test.\nJonathan");
echo "<html><body><p>the mail was
sent</p></body></html>";
?>
This just started happening; one day everything worked fine, the next
day it just quit. I'm running with Qmail and have not changed anything
with my Qmail/PHP/Apache/Evironment settings. This occurs both through
Apache as well as through the command line.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20285&edit=1