Bug 159066 - mail() function does not work
mail() function does not work
Status: CLOSED ERRATA
Product: Fedora Legacy
Classification: Retired
Component: php (Show other bugs)
fc2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Fedora Legacy Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-28 09:24 EDT by Roman Veretelnikov
Modified: 2007-04-18 13:27 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-05-28 12:01:32 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Roman Veretelnikov 2005-05-28 09:24:02 EDT
From Bugzilla Helper:
User-Agent: Opera/8.0 (Windows NT 5.0; U; en)

Description of problem:
simple example:
<?
  mail('username@domain.tld', 'Subject', 'Body');
?>

produces:

Fatal error: Call to undefined function: mail() in ....

Version-Release number of selected component (if applicable):
4.3.11-1.fc2.1.legacy

How reproducible:
Always

Steps to Reproduce:
1. create mail-test.php from the example above
2. open it with browser http://localhost/mail-test.php
3. 
  

Actual Results:  Fatal error: Call to undefined function: mail() in /home/.../mail-test.php on 
line 2

Expected Results:  Message must be sent to username@domain.tld

Additional info:

It seems like php was compiled without MTA support: http://fudforum.org/forum/
index.php?t=msg&goto=22109&

I use Plesk 7.5.3 on this server. It replaced sendmail with qmail.
Comment 1 Marc Deslauriers 2005-05-28 12:01:32 EDT
Thanks for the bug report.

New packages fixing this issue were pushed to updates-testing.

Note You need to log in before you can comment on or make changes to this bug.