php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35982 there are no functions mail() and ezmlm_hash()
Submitted: 2006-01-12 19:00 UTC Modified: 2006-01-12 19:18 UTC
From: eddi at to-grip dot de Assigned:
Status: Not a bug Package: Mail related
PHP Version: 5CVS-2006-01-12 (snap) OS: GNU/Linux (gentoo) 2.6.15
Private report: No CVE-ID: None
 [2006-01-12 19:00 UTC] 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
   


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-12 19:07 UTC] tony2001@php.net
It means you don't have sendmail installed.
 [2006-01-12 19:18 UTC] eddi at to-grip dot de
I'm sorry!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC