#24449 [NEW]: Fatal error MAIL()
| From: | csimonetto at sfera dot tv | Date: | Tue, 01 Jul 2003 21:52:41 +0000 |
| Subject: | #24449 [NEW]: Fatal error MAIL() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-43032@lists.php.net to get a copy of this message | ||
From: csimonetto at sfera dot tv
Operating system: red hat 7.3
PHP version: 4.3.2
PHP Bug Type: Mail related
Bug description: Fatal error MAIL()
Description:
------------
If I try to use the mail function I receive this error:
PHP Fatal error: Call to undefined function: mail() in
/home/httpd/html/bug.php on line 2
the script bug.php is
<?
mail("max@sfera.tv", "test", "test");
echo "Sended";
?>
The server configuration is
Redhat 7.3
Apache 1.3.27
PHP 4.3.2
Sendmail
I try the solution in a related problem, but i have sendmail, the path is
correct, and the php.ini is configured (sendmail_path
/usr/sbin/sendmail).
Sendmail from line command work correctly, the mail was send !
Please help me
Thanks
Reproduce code:
---------------
<?
mail("max@sfera.tv", "test", "test");
echo "Sended";
?>
Expected result:
----------------
Sended
Actual result:
--------------
Fatal error: Call to undefined function: mail() in
/var/www/html/tool4cut.com/manager/mailtest.php on line
--
Edit bug report at http://bugs.php.net/?id=24449&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=24449&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=24449&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24449&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24449&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24449&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24449&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24449&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24449&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24449&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24449&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24449&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24449&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24449&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24449&r=gnused