Hi Guys
I am VERY new to this trying to use a mail form script.
Now the problem is that it IS working but let me explain...
I am running the script on say www.abc.com and I am trying to send email from the form to info@abc.com... now it refuses to relay it to this account but if I change the to field to any other account outside the abc.com mail server it goes there.
Can anyone tell what the problem could be?
Thanks
Tanya
The script
$to = "info@abc.com";
$subject = "Enquiry Thru Web";
$head = "MIME-Version: 1.0\r\n";
$head .= "Content-type: text/html; charset=iso-8859-1\r\n";
$head .= "From:$name\r\n";
$head .= "Cc:xyz@hotmail.com\r\n";
mail($to,$subject,$body,$head);
header("location:thanks.htm");