Have a look at the path to sendmail in your php.ini file. To get mine to work I had to set it to '/usr/sbin/sendmail -t -i'. Your path may be different, but the -t and -i switches are important.
- Ben Sanjay wrote: > Hi > > I have successfully installed PHP 4.0.6 with apache 1.3.22 on my mandrake > Linux box. Now, the problem is I am not able to send email using mail () of > php. However, I am able to send it using mail command. > > Any help will be highly appreciated. > > Regards > Sanjay > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]