title: O365 , EWS Managed API and ExchangeVersion
body: <p>If I am using the Exchange Web Services Managed API v2.2 to connect with O365 then which ExchangeVersion should I use?</p>
  
  <p>It seems to me that it would make sense that I should <strong>always</strong> use the latest version as I assume O365 is always the latest version (in fact the O365 meeting request confirmation messages already have Exchange 2016 in their footers!)</p>
  
  <pre><code>var service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
  </code></pre>
  
  <p><strong>Is there a recommended version to use for O365 or am I best to automatically use the latest version?</strong> (and does anyone have a source from microsoft on this?)</p>
  
  <p><strong>EDIT: This is the actual original issue in question that sparked my question</strong></p>
  
  <p>We're coming across an issue where spaces are being erroneously removed from Email Message HTML body when using O365. Our software is setting the ExchangeVersion to Exchange2013. Using fiddler we can see that the spaces are not actually removed, so it doesn't appear to be a Managed API issue. We did not previously have these issues, so I assume that something has changed at the O365 end.</p>
  
  <p>However, if we change our software to use ExchangeVersion.Exchange2013_SP1 then the problem disappears.</p>
  
  <p>So now I am wondering whether O365 has updated and expects us to therefore use the latest ExchangeVersion</p>
  
  <p>Can anyone offer and advice on the ExchangeVersion with O365 or explain why the problem may have started and why changing ExchangeVersion would make things work again?</p>