If I am using the Exchange Web Services Managed API v2.2 to connect with O365 then which ExchangeVersion should I use?
It seems to me that it would make sense that I should always 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!)
var service = new ExchangeService(ExchangeVersion.Exchange2013_SP1);
Is there a recommended version to use for O365 or am I best to automatically use the latest version? (and does anyone have a source from microsoft on this?)
EDIT: This is the actual original issue in question that sparked my question
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.
However, if we change our software to use ExchangeVersion.Exchange2013_SP1 then the problem disappears.
So now I am wondering whether O365 has updated and expects us to therefore use the latest ExchangeVersion
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?