title: SMTP client not translating inline HTML
body: <p>i'm having issues sending inline HTML into an email using the SMTP/.NET mail.  I've tried the standard class, as well as the MailDefininition class, but i keep getting inline the raw code, not the translated page.</p>
  
  <p>I know it is probably something small that i am missing, below is my code. Thanks</p>
  
  <pre><code>     public static void SendMail(string toAddress,  string subject, string messageBody)
      {
          MailDefinition message = new MailDefinition();
          message.CC = MailCCAddress;
          message.From = "orders@test.com";
          message.Subject = subject;
          message.IsBodyHtml = true;
          ListDictionary replacements = new ListDictionary();
  
          System.Net.Mail.MailMessage fileMsg;
          fileMsg = message.CreateMailMessage(toAddress, replacements, messageBody, new System.Web.UI.Control());
  
          string _hostName = HostName;
  
          SmtpClient client = new SmtpClient(_hostName);
          client.Credentials = CredentialCache.DefaultNetworkCredentials;
          //client.Send(message);
          client.Send(fileMsg);
      }
  </code></pre>