Re: Mail() fails after configuring php4
| From: | David Robley | Date: | Thu, 13 Jul 2000 03:05:49 +0000 |
| Subject: | Re: Mail() fails after configuring php4 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6373@lists.php.net to get a copy of this message | ||
On 12 Jul, Dan Donaldson wrote:
> On 7/12/00 at 5:33 PM, richard@zend.com (Richard Lynch) expostulated:
>
>> In article
>> <20000711231959.BZWJ8304.tomts1-srv.bellnexxia.net@[64.228.17.73]>,
>> omnivore@sympatico.ca (Dan Donaldson) wrote:
>>
>> > My questions are these: are the values that php uses if it doesn't find
>> an .ini
>> > file set from some external file or are they internal defaults? Since there
> is
>> > no file where PHP says it looks for one, the values that it uses and
>> reports in
>> > phpinfo() - where do they come from?
>>
>> Internal defaults. Hard-coded, essentially.
>>
>
> To summarize: On the strength of Richard's reply I decided to start fooling
> around with the php.ini file. Works OK - I can set values in phpinfo().
> sendmail_path is correct according to phpinfo(). I've tried it with and without
> a sendmail_from value. I'm using completely orthodox mail() syntax (see previous
> post). But even though mail() returns 1, I get nada (no mail arrives).
>
> Any ideas?
>
> What I find really peculiar is that I *always* get a positive return value. Even
> if I give it a totally erroneous location for sendmail...What's up with that?
>
If you have access, or can convince your provider, check the system logs
to see if sendmail is dropping any useful errors.
Cheers
--
David Robley | WEBMASTER & Mail List Admin
RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/
AusEinet | http://auseinet.flinders.edu.au/
Flinders University, ADELAIDE, SOUTH AUSTRALIA