title: C# Send Email with <b> and <u>
body: <p>Hi I am trying to send an email using Bold and Underline in my Message in C# </p>
  
  <pre><code>&lt;b&gt;&lt;/b&gt; &lt;u&gt;&lt;/u&gt;
  </code></pre>
  
  <p>How would I implement this into my code??</p>
  
  <pre><code>    var fromAddress = new MailAddress("test@gmail.com", "test");
      var toAddress = new MailAddress("test@gmail.com", "test");
      const string fromPassword = "REMOVED";
      const string subject = "Engineering Completed NewParts Project";
      const string body = "Engineering has completed their data entry on the &lt;b&gt;&lt;u&gt;NewParts&lt;/b&gt;&lt;/u&gt; project on PDMTool. / ";
  
      var smtp = new SmtpClient
                 {
                     Host = "smtp.gmail.com",
                     Port = 587,
                     EnableSsl = true,
                     DeliveryMethod = SmtpDeliveryMethod.Network,
                     UseDefaultCredentials = false,
                     Credentials = new NetworkCredential(fromAddress.Address, fromPassword)
                 };
      using (var message = new MailMessage(fromAddress, toAddress)
                           {
                               Subject = subject,
                               Body = body
                           })
      {
          smtp.Send(message);
      }
  </code></pre>
  
  <p>Thank you.</p>