ok...php 4.3.2.
i have this script:
<?
$from = "you@you.net";
$to = "me@me.com";
$headers = "From: $from" .
"\r\nReply-To: $from";
$subject="TEST THE MAIL() FUNCTION";
$mesg = "This is a test message";
$success = mail($to, $subject, $mesg, $headers);
if ($success) {
echo "SUCCESS!<BR>";
} else {
echo "THERE WAS AN ERROR.<BR>";
}
?>
it works perfectly on my linux box. on my client's machine, it reports success over and over again but no mail ever arrives.
what's up with that? i realize mail can get lost and stuff but it doesn't seem to work at all and client is breathing down my neck about it.
is there some other way to send mail that will let you know more about what is going on? maybe let you know it's going to take awhile or something?