Justtechjobs.com Find a programming school near you






Online Campus Both


php-install | 2004091

Re: [PHP-INSTALL] Please help , qmail with php problem , mail() can't send out email From: Chris Hewitt (phpinst <email protected>)
Date: 09/11/04

On Fri, 2004-09-10 at 10:25, info <email protected> wrote:
> I have install qmail in new server , but i get one error from php
> mail()
>
> this is error i get
>
> Fatal error: Call to undefined function: mail() in
> /home/cuser/public_html/mail.php on line 2
>
> mail.php like this
> <?php
> mail("myemail <email protected>", "My Subject", "Line 1\nLine 2\nLine 3");
> ?>
>
> I can't get fix yet.
>
> any one can help me ? i have setup a link to sendmail path , and
> recompile php , not work.

Have you installed the sendmail-wrappers such that you can call qmail as
/usr/sbin/sendmail? Also, the user that you compiled php as must be able
to use sendmail.

Hope this helps.

Chris