php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35262 mail function does not work
Submitted: 2005-11-17 14:52 UTC Modified: 2005-11-17 14:54 UTC
From: mihaela dot mitu at gmail dot com Assigned:
Status: Not a bug Package: Mail related
PHP Version: 4.4.1 OS: Linux
Private report: No CVE-ID: None
 [2005-11-17 14:52 UTC] mihaela dot mitu at gmail dot com
Description:
------------
Mai function in PHP4 does not work. I got this error:

Fatal error: Call to undefined function: mail() in /home/www/ofertaparteneri/opendocman/commitchange.php on line 118

What did i du wrong? PLs explaned this to me... step by step.

Reproduce code:
---------------
  mail($mail_to, $mail_subject, ($mail_greeting.' .$mail_body.$mail_salute), $mail_headers);


Expected result:
----------------
another page from opendocman aplication.

Actual result:
--------------
Fatal error: Call to undefined function: mail() in /home/www/ofertaparteneri/opendocman/commitchange.php on line 118

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-17 14:54 UTC] tony2001@php.net
No sendmail installed -> no mail() function, as mail() requires some MTA to transfer e-mails.
For detailed descriptions please use appropriate support forums and mailing lists.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Sep 29 01:04:48 2022 UTC