title: EWS managed API - Appointment with Html Body and Outlook 2013
body: <p>I'm trying to create an Appointment with an Html Body containing a Hyperlink, like it is shown in this Example:</p>
  
  <pre><code>ewsAppointment = new EwsData.Appointment(service);
  ewsAppointment.Subject = "Test";
  var element = new XElement("html",
                      new XElement("body",
                          new XElement("p", 
                              new XElement("a", 
                                  new XAttribute("href", "http://www.google.it/"), 
                                  "google")), 
                          new XElement("p", "test 2"))));
  
  ewsAppointment.Body.BodyType = EwsData.BodyType.HTML;
  ewsAppointment.Body = element.ToString();
  ewsAppointment.Save(SendInvitationsMode.SendToNone);
  </code></pre>
  
  <p>When i open this Appointment in Outlook 2010, the Body looks as expected:</p>
  
  <p><a href="https://i.stack.imgur.com/wVwd2.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/wVwd2.png" alt="Body in Outlook 2010"></a></p>
  
  <p>But in Outlook 2013, the formatting of the Body is lost and it looks like this:</p>
  
  <p><a href="https://i.stack.imgur.com/UlZCz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UlZCz.png" alt="Body in Outlook 2013"></a></p>
  
  <p>Any idea how i can fix this Problem? </p>