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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: eddi at to-grip dot de
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Thu Apr 25 08:01:28 2024 UTC