Re: [Nolug] PHP Mail

From: Mark A. Hershberger <mah_at_everybody.org>
Date: Thu, 21 Aug 2003 15:42:29 -0500
Message-ID: <87zni2hhe2.fsf@weblog.localhost>

"Brett D. Estrade" <estrabd@yahoo.com> writes:

> is sendmail on?

Yes. The machine is an MX for several domains (it received your
email) so I know that mail is working.

Here is what phpinfo() reports for mail configuration:

  Under "PHP Core":

    sendmail_from no value no value
    sendmail_path /usr/sbin/exim /usr/sbin/exim
    SMTP localhost localhost

  Under "standard":

    Path to sendmail /usr/sbin/exim

The test page:

    <?php
    var $to = "mah@everybody.org";
    var $subject = "Unit Test E-mail";
    var $message = "This e-mail was sent by phpmail.php.";
    var $result = mail($to, $subject, $message);
    print ($result) ? "OK" : "Failed";
    ?>

When this page is visited, I get neither "OK" nor "Failed" nor is
email sent.

Mark.
___________________
Nolug mailing list
nolug@nolug.org
Received on 08/21/03

This archive was generated by hypermail 2.2.0 : 12/19/08 EST