Re: unbale to send mails using mail function
| From: | Ben Holt | Date: | Thu, 29 Nov 2001 16:57:07 +0000 |
| Subject: | Re: unbale to send mails using mail function | ||
| References: | 1 | Groups: | php.general php.general |
| Request: | Send a blank email to php-general+get-76063@lists.php.net to get a copy of this message | ||
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