|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21752 mail() function lost
Submitted: 2003-01-19 11:12 UTC Modified: 2003-01-19 18:29 UTC
From: ciano at borgosatollo dot it Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.3.0 OS: Linux Mandrake 9.0 kernel 2.4.19
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.
Block user comment
Status: Assign to:
Bug Type:
From: ciano at borgosatollo dot it
New email:
PHP Version: OS:


 [2003-01-19 11:12 UTC] ciano at borgosatollo dot it
I'm using the mail() function as I used to do in the older versions but what I'm getting is an error =((.

mail("","prova","prova da legolas");

error: Fatal error: Call to undefined function: mail() in /var/www/html/mail.php on line 2

this happens only with php 4.3.0, I read the changelog and ther was nothing reguarding this.

thx for help


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-01-19 18:12 UTC]
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at and the instructions on how to report
a bug at

Your php lacks the mail() function because during installation (configure phase) PHP was unable to fund sendmail or equivalent binary on your system.
 [2003-01-19 18:29 UTC] ciano at borgosatollo dot it
Thx, that solved my problem =)))
sorry for my lack of attention :D
 [2003-03-13 21:01 UTC] fred at fred dot fred
I followed your link to the manual and found this: 

XLIX. Mail functions
The mail() function allows you to send mail. 

No external libraries are needed to build this extension.

There is no installation needed to use these functions; they are part of the PHP core.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 30 01:01:24 2023 UTC