title: How to set multiple colors of different parameters in email sent from C# project
body: <p>I want to set the color of my text of the email which generate email by collecting data from different objects and parameters. I have code it but unable to set individual color of my context of each parameter</p>
  
  <p>My code is given: </p>
  
  <pre><code>SmtpClient emailClient = new SmtpClient();
  
              MailMessage emailMessage = new MailMessage();
              emailMessage.IsBodyHtml = true;
  
  
                  sbEmailBody.AppendLine("[" + **test.GetType().Name** + "]");
  </code></pre>
  
  <p>How can I set color of <strong>test.GetType().Name</strong> parameters?</p>