RE: [PHP] Re: Mail problem
| From: | David Robley | Date: | Mon, 02 Sep 2002 04:12:52 +0000 |
| Subject: | RE: [PHP] Re: Mail problem | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-114875@lists.php.net to get a copy of this message | ||
In article <002101c25029$2ca0c490$890aa8c0@ccmltd.co.uk>,
mark.colvin@ccmltd.co.uk says...
> I have this set on both boxes. Here are the settings -
>
> local box (which does send mail) isp box (does not send
> mail)
> sendmail_from me@@localhost.com 'no value'
> sendmail_path /usr/sbin/sendmail -t -i /usr/sbin/sendmail -t -i
> SMTP localhost localhost
>
>
> >
> >
> > I actually had to set the SMTP setting to localhost on our
> > solaris boxes to
> > get this to work. I discovered this because we have a few
> > older machines
> > without php.ini files altogether, and the default is to have
> > this set (the
> > older machines worked).
> >
You may wish to test the value tht mail() returns - if it returns true
then the mail has been successfully handed off to the MTA and beyond the
scope of PHP; in this case you then need to look at your system mail logs
to see if there is something useful there. It may also be that the mail is
successfully sent, but bounces for whatever reason; a check of the
relevant mailboxes (postmaster, admin etc) may turn up more info.
--
David Robley
Temporary Kiwi!
Quod subigo farinam