Hi guys,

I'm pretty new to php and web development, so naturally I am asking for help with some basic stuff. I created a contact form with php script, and although the php script seems to be working fine( the echo message appears on the screen) I am not able to receive any emails using the form I created. Please look over my code, maybe you can figure out what is wrong with. As always any input is greatly appreciated.

Thanks in advance.

PHP Code:
<?
$subject="from ".$_GET['name'];
$headers= "From: ".$_GET['email']."\n";
 $headers.='Content-type: text/html; charset=iso=8859-1';
 mail("[email protected]", $subject, "
 <html>
 <head>
  <title>Contact Letter</title>
 </head>
<body>

<br>
  ". "Name: " .$_GET['name']. "<br>" ."Email: " .$_GET['email']. "<br>" ."Message: " .$_GET['message']."
 </body>
 </html>" , $headers);
 
  echo ("Thank You.     Your message to [email protected] was succesfully sent!");
 ?>
 <script>
     //resizeTo(300,300)
 </script>

and here is the html

HTML Code:
  <div class="rtd">
    <div class="logo">
      <div class="col_2"><br />
          <div class="indent">
            <!--form id="form" action="" enctype="multipart/form-data"> -->
            <form id="form" action="contact.php" method="get"  target=”_blank” name="form" > 
              <div class="b1">
                <div>
                 <input name="name" type="text" value="  Name:" onfocus="this.value=''" />
                </div>
                <div>
                  <input name="email" type="text" value="  E-mail:" onfocus="this.value=''" />
                </div>
                <div></div>
              </div>
              <div class="b2">
                <textarea name="message" cols="30" rows="40" onfocus="this.value=''">  Message:</textarea>
                <br />
                <div class="tar"><b>
                <a href="#" onclick="getElementById('form').reset()">clear</a> <img src="images/spacer.gif" width="35" height="1" alt="qqq" /> 
                <a href="#" onclick="getElementById('form').submit()">send</a></b></div>
              </div>
              <div class="clear"></div>
            </form>
          </div>
      </div>
    </div>