Re: Call to undefined function: mail() with SUSE 9.1
| From: | John Nichel | Date: | Wed, 02 Jun 2004 20:18:16 +0000 |
| Subject: | Re: Call to undefined function: mail() with SUSE 9.1 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-187474@lists.php.net to get a copy of this message | ||
Chris W wrote:
I just moved my site to a new install of SUSE 9.1 and get the error.. Call to undefined function: mail() when ever I try to send a message. What is the easiest way to fix this since suse used postfix instead of sendmail.You'll have to set the path to postfix's sendmail wrapper. I think it's in /usr/sbin, which is probably not in your path. So you either need to add /usr/sbin to your path, or set 'sendmail_path' in your php.ini file, then restart your webserver. -- John C. Nichel KegWorks.com 716.856.9675 john@kegworks.com