Hi,
I recently posted a question as to why "WWW User" kept cropping up in the From line of E-mail's I'm sending out. Thanks to Neville for his post, but I modified my code after what he suggessted, and still am having the same problem (What makes is so strange is that half the time the from line comes through correct, but the rest of the time it will come through as "WWW User" with a blank subject line). I've tried everything I can think of, and still this random problem occurs. If anyone knows what I'm doing wrong, please let me know. All I want is the company name to show up in the From Line.
$Email = "address@domain.com";
$sub = "A test";
$name = "My Company";
$address = "reply@domain.com";
$msg = "Body message...";
mail($Email, $sub, $msg, "From:\"$name\"\nReply-to:$address\nContent-Type:text/html;charset=iso-8859-1");