php mail function does not work

Bug #8356 reported by Thomas Black
6
Affects Status Importance Assigned to Milestone
php4 (Ubuntu)
Fix Released
High
Thom May

Bug Description

The php mail() function appears to be broken in the core php package. This has
been an intermittent problem with Ubuntu php versions. At present, it is however
broken and hindering website functionality. Output from one of our websites:

Fatal error: Call to undefined function: mail() in
/var/www/proto.tsf.org.za/formmail.php on line 1919

Fatal error: Call to undefined function: mail() in
/var/www/proto.tsf.org.za/formmail.php on line 1919

-Thomas

Revision history for this message
Thomas Black (tsblack) wrote :

I've been told this this error is due to a compile time build issue - if no
'sendmail' command is found while building sources, its drops the functionality.
Haven't had time to scrounge the net to verify this yet, but it seems plausible.

Revision history for this message
Thom May (thombot) wrote :

OK, the fix seems to be to force sendmail to be on always. This is a really,
really stupid test on unix, but never mind. testing new packages now.

Revision history for this message
Thom May (thombot) wrote :

php4 (4:4.3.8-3ubuntu6) warty; urgency=low
 .
   * Everywhere has sendmail, so let's not even check (Warty #1600)

Ok to upload?

Revision history for this message
Matt Zimmerman (mdz) wrote :

Approved

Revision history for this message
Thom May (thombot) wrote :

Uploaded.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.