Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 159066 - mail() function does not work
Summary: mail() function does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora Legacy
Classification: Retired
Component: php
Version: fc2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Fedora Legacy Bugs
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-05-28 13:24 UTC by Roman Veretelnikov
Modified: 2007-04-18 17:27 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-05-28 16:01:32 UTC


Attachments (Terms of Use)

Description Roman Veretelnikov 2005-05-28 13:24:02 UTC
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 16:01:32 UTC
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.