I wanna to send email with hostgator server but web con't send.Help me please.

May 8 2012 8:18 AM
my code is this-
  //MailMessage mm = new MailMessage();
        //SmtpClient sm = new SmtpClient();
        //sm.Credentials = new NetworkCredential("[email protected]", "GEs3ebrE");
        //mm.To.Add(new MailAddress(TextBox1.Text));
        //mm.From = new MailAddress("[email protected]");
        //mm.Subject = TextBox2.Text; ;
        //mm.Body = TextBox3.Text;
        //mm.Priority = MailPriority.High;
        //sm.Port = 25;
        //sm.Host = "50.97.99.170";
        //sm.UseDefaultCredentials = false;
        //sm.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis;
        //sm.EnableSsl = false;
        //sm.Send(mm);