title: how to send mail from asp.net?
body: <pre><code>        mailMessage.From = new System.Net.Mail.MailAddress("abc@yourserver.com");
          mailMessage.Subject =TextBox3.Text;
          mailMessage.Body = TextBox5.Text;
          mailMessage.IsBodyHtml = true;
          mailMessage.To.Add(new System.Net.Mail.MailAddress(TextBox4.Text));
          mailMessage.CC.Add(new System.Net.Mail.MailAddress("xyz@gmail.com"));
          System.Net.Mail.SmtpClient smtp = new SmtpClient();
          smtp.Host = "smtpout.secureserver.net";
          smtp.EnableSsl = true;
          System.Net.NetworkCredential NetworkCred = new System.Net.NetworkCredential();
          NetworkCred.UserName = "abc@yourserver.com";
          NetworkCred.Password = "1234566";
         smtp.UseDefaultCredentials = true;
          smtp.Credentials = NetworkCred;
          smtp.Port = 587;
          smtp.EnableSsl = true;
          smtp.Send(mailMessage);
  </code></pre>
  
  <hr>
  
  <h2>error</h2>
  
  <p>A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 173.201.193.228:587</p>