Sending Email, in php through gmail
<p>This is my code, i am very new to php. So, i dnt kno where is the error and why it is not sending emails..
            have the following code, And it is not sending Email. Infact it is only displaying the interface. When i click on button it does nthng. I am working with Wamp Server and dreamweaver. Please if any body could help. </p>

<pre><code>&lt;head&gt;
   &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt;
   &lt;title&gt;EmailForm&lt;/title&gt;
   &lt;style type="text/css"&gt;
    body {
     margin-left: 10px;
     margin-top: 10px;
     background-color: #FFF;
         }
      body,td,th {
     color: #666;
        }
      &lt;/style&gt;
    &lt;?PHP
     if(isset($_POST['Submit1']))
     {$Email=$_POST['Email'];
      $Comments=$_POST['Comments'];

      $headers = 'MIME-Version: 1.0' . "\r\n";
      $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
      $headers .= ‘From: madeeha.rehman5@gmail.com' . "\r\n";

      if(mail('madeeha.rehman5@gmail.com','Hello',$Comments,$headers))
      {echo("Your Email is sent successfully");
        }
        Else
        {echo("Email Sending Failed");}
         }
         ?&gt;
          &lt;/head&gt;

       &lt;body text="#999999"&gt;
      &lt;form id="EmailForm" name="EmailForm" method="POST"action="file:///E|/Sites/EmailForm.php"&gt;
      &lt;table width="450px"&gt;
     &lt;tr&gt;&lt;td valign="top"&gt;
    &lt;label&gt;First Name *&lt;/label&gt;&lt;/td&gt;
    &lt;td valign="top"&gt;
    &lt;input name="FName" type="text" size="30px" /&gt;&lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td valign="top"&gt;
    &lt;label&gt;Last Name *&lt;/label&gt;&lt;/td&gt;&lt;td valign="top"&gt;
   &lt;input name="LName" type="text" size="30px"/&gt;
     &lt;/td&gt;&lt;/tr&gt;
    &lt;tr&gt;&lt;td valign="top"&gt;  &lt;label&gt;Email Address *&lt;/label&gt;&lt;/td&gt;&lt;td valign="top"&gt;
    &lt;input name="Email" type="text" size="30px"/&gt;&lt;/td&gt;&lt;/tr&gt;
   &lt;tr&gt;&lt;td valign="top"&gt;
       &lt;label&gt;Comments *&lt;/label&gt;&lt;/td&gt;&lt;td valign="top"&gt;
    &lt;textarea name="Comments" cols="25" rows="5"&gt;&lt;/textarea&gt;&lt;/td&gt;&lt;/tr&gt;
  &lt;tr&gt;&lt;td colspan="2" style="text-align:center"&gt;
   &lt;input name="Submit1" type="Submit" value="Submit" style="color:#000" /&gt;&lt;/td&gt;&lt;/tr&gt;
   &lt;/table&gt;
    &lt;/form&gt;


    &lt;/body&gt;
     &lt;/html&gt;
</code></pre>
