my send mail not found in inbox
<p>i want to send mail in asp.net form here is my coding</p>

<pre><code>protected void Button1_Click(object sender, EventArgs e)
{
  SmtpClient smtp = new SmtpClient("192.168.1.2",Convert.ToInt32 (25));
  System.Net.NetworkCredential cre = new System.Net.NetworkCredential();
  smtp.Credentials = cre;
  MailMessage message = new MailMessage();
  message.To.Add(new MailAddress("uamrit@gmail.com"));
  message.IsBodyHtml = true;
  message.Body = "&lt;html&gt;&lt;head&gt;&lt;body&gt;&lt;p&gt; this is Demo for sending mail. &lt;/p&gt;&lt;/body&gt;&lt;/head&gt;&lt;/html&gt;";
  message.Subject=("response from the web sitre");
  message.From = new MailAddress("uamrit@gmail.com");

  try
  {
    smtp.EnableSsl = false;
    smtp.UseDefaultCredentials = true;
    smtp.Send(message);
    Response.Write("Your Email has been sent sucessfully -");
  }
  catch (Exception exc)
  {
    Response.Write("Send failure: " + exc.ToString());
  }
}
</code></pre>

<p>in web.config</p>

<pre><code>&lt;system.net&gt;
 &lt;mailSettings&gt;
  &lt;smtp from="uamrit@gmail.com"&gt;
   &lt;network host="192.168.1.299" port="25" userName="uamrit" password="*****"/&gt;
  &lt;/smtp&gt;
 &lt;/mailSettings&gt;
&lt;/system.net&gt;
</code></pre>

<p>this show mail send successfully but when we check my gmail account there no one mail for me why this happen.
what the procedure to send mail
plz send me full coding</p>
