Re: PHP 4.0 Bug #3280: Mail function not working. -- FIXED
| From: | Garth Gillespie | Date: | Sun, 23 Jan 2000 22:27:28 +0000 |
| Subject: | Re: PHP 4.0 Bug #3280: Mail function not working. -- FIXED | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-14860@lists.php.net to get a copy of this message | ||
Ran into the same thing on RedHat on a new project.
/usr/sbin is not in the PATH so sendmail is not found.
Put /usr/sbin/sendmail -t into your php.ini and it will work.
Garth Gillespie
Webmaster
Computer Currents Magazine
http://www.computercurrents.com
On 22 Jan 2000 ndavis@plus.net.uk wrote:
> From: ndavis@plus.net.uk
> Operating system: Redhat Linux version 6.1
> PHP version: 4.0 Beta 3
> PHP Bug Type: Misbehaving function
> Bug description: Mail function not working.
>
> Running PHP4 / Apache 1.3.9 using the setup in the PHP4 install file on a AMDK6 based PC, the
> mail function does not appear to work.
> For example :
>
> <?
>
> mail ("ndavis@plus.net.uk","test message","test message");
>
> ?>
>
> generates no mail, and if an 'or die' is added to the mail command it will die at
> that point.
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>