On Fri, 2004-09-10 at 10:25, [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("[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

Reply via email to