title: sending mail from html pages as sending through C#
body: <p>I used to send email in <strong>asp.net(using c# code)</strong>
  there i used to design form in aspx page and used to write coading in aspx.cs page like</p>
  
  <pre><code>        string mailto;
          string mailfrom;
          string name;
          string subject;
          string message;
          string MailContent;
          string cc;
          SmtpClient client;
          System.Net.Mail.MailMessage msg;           
          client = new SmtpClient();
          client.UseDefaultCredentials = false;
          client.Credentials = new System.Net.NetworkCredential("noreply@gmail.com", "password");
          client.Port = 587;//25
          client.Host = "smtp.gmail.com";
          client.EnableSsl = true;            
          mailto ="abc@gmail.com";
          mailfrom = "noreply@gmail.com";
          name = "name";
          subject = "subject";
          message ="hi";
          msg = new System.Net.Mail.MailMessage();
          msg.To.Add(mailto);
          //msg.To.Add(cc);
          msg.From = new MailAddress(mailfrom, name, System.Text.Encoding.UTF8);
          msg.Subject = subject;
          msg.SubjectEncoding = System.Text.Encoding.UTF8;
          msg.Body = message;
          msg.BodyEncoding = System.Text.Encoding.UTF8;
          msg.IsBodyHtml = true;
          msg.Priority = MailPriority.High;
          try
          {
              client.Send(msg);
              MailStatus = true;
          }
          catch (Exception ex)
          {
              ex.ToString();
              MailStatus = false;
          }
  </code></pre>
  
  <p>But i want to send mail from simple <strong>.html page</strong> similar as above done in <strong>.aspx page</strong>?
  is there any kind of <strong>javascript</strong> or <strong>css</strong> or <strong>dll</strong> file which i can use to send an email?</p>