title: I need to format the email sent from my Windows Form C# application
body: <p>When a user clicks "email" button it sends everything in my form. I need to add bold and italic to the form. here is the button click code:</p>
  
  <p>*For those looking to use this code, I have placed everything that will need changed in all caps, any questions on the code please ask.</p>
  
  <p>Here is the code behind:</p>
  
  <pre><code>private void button1_Click(object sender, EventArgs e)
      {
  
              MailMessage msg = new MailMessage(); 
              msg.To.Add("SENT FROM EMAIL");               
              MailAddress address = new MailAddress("WHO THE FORM GETS EMAIL   
   FROM");
              msg.From = address;            
              msg.Subject = "Daily Checklist for " + check_Date_TextBox.Text;
              msg.IsBodyHtml = true;          
  </code></pre>
  
  <p>I want to format this line</p>
  
  <pre><code>msg.Body = "Check Date: " + &lt;b&gt;check_Date_TextBox.Text&lt;/b&gt; + Environment.NewLine +
  </code></pre>
  
  <p>It has been recomdnded to put the html formatting in the code above but it gives me an error</p>
  
  <pre><code>        SmtpClient client = new SmtpClient("SMTP CLIENT, PORT);
              client.DeliveryMethod = SmtpDeliveryMethod.Network;   
          client.EnableSsl = false;                               
              NetworkCredential credentials = new NetworkCredential("SENT FROM 
  EMAIL", "PASSWORD");
              client.Credentials = credentials;
  
  
              client.Send(msg);
          }
  </code></pre>