This one time, at band camp,
"Bruce Douglas" <[EMAIL PROTECTED]> wrote:
> //test mail....
> $to = "[EMAIL PROTECTED]";
> $subject = "savannah registration";
> $message = " testing mail";
> $reply = "From: [EMAIL PROTECTED]\r\n"
> ."Reply-To: [EMAIL PROTECTED]\r\n";
>
> echo"
> to = " . $to . "<br>";
>
> echo"
> subject = " . $subject . "<br>";
>
> echo"
> msg = " . $message . "<br>";
>
> echo"
> reply = " . $reply . "<br>";
>
> $q1 = mail($to, $subject, $message, $reply);
> echo"
> return val = " . $q1 . "<br>";
if you compiled php yourself and installed, the mail() function is
broken due to a broken autoconf in RedHat. You can fix this by downgrading
to 2.13.
in your script itself, add some error checking when sending mail...
if( $q1 != mail($to, $subject, $message, $reply)){
echo 'Could not send mail';
}else{
echo 'Mail sent happily';
}
or something
Kevin
--
Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html
Kevin Waterson
Port Macquarie, Australia
--
Psyche-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list