[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
error handling, BRL vs PHP
If this newbie had an analagous problem with mail in BRL, he would have
gotten a meaningful error message by default. There may be some global
errno you can check if PHP mail() returns false, but I don't know what
it is, and none of the examples I've seen so far check the return value.
------- Start of forwarded message -------
From: Tim Cowan <firstname.lastname@example.org>
Subject: Re: How do I send mail
References: <VkQS7.70899$KT.email@example.com> <firstname.lastname@example.org>
Organization: Bigspot Inc.
Content-Type: text/plain; charset=us-ascii
Date: Sun, 16 Dec 2001 01:52:02 GMT
Matt Durell wrote:
> In message-id <VkQS7.70899$KT.email@example.com>
> on Sat, 15 Dec 2001 22:41:57 GMT
> 'Tim Cowan' issued the following statement:
>>I am running apache server on linux (Mandrake 8.1) and I am trying to send
>>mail using PHP and the mail(...) function.
>>I don't get any PHP errors but no mail gets sent.
>>Does anyone know how to fix this?
> 1. do you have sendmail running?
> 2. check the setting for 'sendmail_path' in php.ini
> _please_ read the sig:
I checked the setting in the php.ini file. It was set at
What should it be set at? I tried to search for sendmail but could not
------- End of forwarded message -------