#35982 [Bgs]: there are no functions mail() and ezmlm_hash()
| From: | eddi at to-grip dot de | Date: | Thu, 12 Jan 2006 18:18:31 +0000 |
| Subject: | #35982 [Bgs]: there are no functions mail() and ezmlm_hash() | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-91806@lists.php.net to get a copy of this message | ||
ID: 35982
User updated by: eddi at to-grip dot de
Reported By: eddi at to-grip dot de
Status: Bogus
Bug Type: Mail related
Operating System: GNU/Linux (gentoo) 2.6.15
PHP Version: 5CVS-2006-01-12 (snap)
New Comment:
I'm sorry!
Previous Comments:
------------------------------------------------------------------------
[2006-01-12 19:07:36] tony2001@php.net
It means you don't have sendmail installed.
------------------------------------------------------------------------
[2006-01-12 19:00:08] eddi at to-grip dot de
Description:
------------
SAPI:
CLI
Apache 2.0 Handler
Version:
php5.1-200601121530 (5.1.3RC2)
5.1.2
The functions mail() and ezmlm_hash() are not defined.
Reproduce code:
---------------
<?php
mail();
?>
Fatal error: Call to undefined function mail() in
/opt/htdocs/default/test.php on line 2
<?php
ezmlm_hash();
?>
Fatal error: Call to undefined function ezmlm_hash() in
/opt/htdocs/default/test.php on line 2
Expected result:
----------------
SAPIs should response:
<?php
mail();
?>
Warning: mail() expects at least 3 parameters, 0 given in Command line
code on line 2
<?php
ezmlm_hash();
?>
Warning:ezmlm_hash(); expects at least 3 parameters, 0 given in Command
line code on line 2
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=35982&edit=1