>if(@mail($to, $subject, $message)) 

Is there an "else" clause here to tell you what went wrong if the email
didn't go out?...

Also add some headers like this:

$headers = "From: [EMAIL PROTECTED]\r\n";
$headers .= "Reply-to: [EMAIL PROTECTED]\r\n";

and change your mail() to:

mail($to, $subject, $message, $headers)

Now when your email fails to deliver, the "bounce" will come back to you
instead of, like, [EMAIL PROTECTED] or localhost or whatever, which is
probably not getting read by a human.

Like Music?  http://l-i-e.com/artists.htm

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to