Re: [Nolug] PHP Mail

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

I wrote:

> <?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.

Ok... So, I didn't write that page. When I took out the "var"s, I
got "Failed" when running it from the command line.

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