|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-11-07 19:06 UTC] sniper@php.net
[2002-11-08 08:09 UTC] jonathan at rietta dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 19:00:01 2025 UTC |
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.