title: Send email with html tags using mailgun
body: <p>I have this code for sending email using mailgun:</p>
  <pre><code>public async Task SendMail(string replyTo, string to, string cc, string subject, string message)
      {
          var smtpServer = config[ConfigurationSMTP_Server];
          var smtpPort = Convert.ToInt32(config[Configuration_SMTP_Port]);
          var smtpUsername = config[Configuration.SMTP_Username];
          var smtpPassword = config[Configuration.SMTP_Password];
  
          MimeMessage mail = new MimeMessage();
  
          mail.From.Add(new MailboxAddress(String.Empty, smtpUsername));
          
          mail.ReplyTo.Add(new MailboxAddress(String.Empty, replyTo));
     
          mail.To.Add(new MailboxAddress(String.Empty, to));
          
          mail.Cc.Add(new MailboxAddress(String.Empty, cc));
         
  
          mail.Subject = subject;
          mail.Body = new TextPart(&quot;plain&quot;)
          {
              Text = message,
          };
  
          using (var client = new SmtpClient())
          {
              client.Connect(smtpServer, smtpPort, false);
              client.AuthenticationMechanisms.Remove(&quot;XOAUTH2&quot;);
  
              client.Authenticate(smtpUsername, smtpPassword);
  
              await client.SendAsync(mail);
              client.Disconnect(true);
          }
  
      }
  </code></pre>
  <p>It works but the br, p html tags doesn't seem to apply to the mail. How can I refractor this to do so?</p>