title: Using EWS API I get "Exchange Server doesn't support the requested version"
body: <p>I have been trying to use the simple example given <a href="https://code.msdn.microsoft.com/Send-Email-with-Exchange-50189e57" rel="nofollow">on this MS page</a>. It seems quite straight forward but I get the error message "Exchange Server doesn't support the requested version"</p>
  
  <pre><code>private void SendEmail()  
      {  
          ExchangeService service = new ExchangeService();  
          service.AutodiscoverUrl(UserPrincipal.Current.EmailAddress);  
  
          EmailMessage message = new EmailMessage(service);  
          message.Subject = "ima subject";  
          message.Body = "I am text to read in body";  
          message.ToRecipients.Add("colleague@yourdomain.com");  
          message.Save();  
  
          message.SendAndSaveCopy();  
  
          System.Windows.MessageBox.Show("Message sent!");  
      } 
  </code></pre>