Re: Mail() not working

From: Date: Sat, 31 Jul 2004 19:11:41 +0000
Subject: Re: Mail() not working
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-192415@lists.php.net to get a copy of this message
Robin Wilson wrote:
Hi I get the following error message: Fatal error: Call to undefined function: mail() in /srv/www/htdocs/blog/serendipity_functions.inc.php on line 1394 I have changed my php.ini file to find the correct path to sendmail and to put an option on the end (-f r.t.wilson@rmplc.co.uk) to make the mail come from me, not from my linux system (otherwise my ISPs smtp server doesn't accept it). Sending mail works fine with the command line mail command. What should I do to make this work? Thanks Robin --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.732 / Virus Database: 486 - Release Date: 29/07/04 enable the function in php.ini :)
There's this small setting somewhere around there that prevents the use of certain functions, and you probably configured it to prevent the use of mail().

« previous php.general (#192415) next »