title: How to display HTML content in Outlook.AppointmentItem body in outlook Add-ins
body: <p>Am trying to display HTML content inside the Outlook Appointment body but am not able to (i tried for both body and FTFbody option). Anyone Please help me . Below is my code .</p>
  
  <pre><code>private void button1_Click(object sender, RibbonControlEventArgs e)
  {
      Outlook.Application application = Globals.ThisAddIn.Application;
      Outlook.Inspector inspector = application.ActiveInspector();
      Outlook.AppointmentItem AppointmentItem = inspector.CurrentItem as Outlook.AppointmentItem;
  
      if (AppointmentItem != null)
      {
          if (AppointmentItem.EntryID == null)
          {
              string messageBody = string.Empty;
              string defaultMessageBody = "Click &lt;a href='https://www.google.com/' &gt; here &lt;/a&gt;";
              AppointmentItem.Subject = "This text was added by using code";
              AppointmentItem.Recipients.Add("testuser1@gmail.com");
              AppointmentItem.Location = "INDIA";
              //AppointmentItem.RTFBody = System.Text.Encoding.Default.GetBytes(defaultMessageBody);
              AppointmentItem.Body = defaultMessageBody;
              AppointmentItem.Save();
          }
      }
  }
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/41DzD.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/41DzD.png" alt="[Default OutLook Appointment body Message]"></a></p>