Does Outlook.com support EWS?
exchange-server, exchangewebservices, outlook.com
Solution
Yes it supports now
Microsoft migrated from the legacy infrastructure to latest Office 365 based infrastructure
Following code snippet in c# will send HelloWorld message via EWS from outlook.com
var service = new ExchangeService
{
TraceEnabled = true,
TraceFlags = TraceFlags.All,
Credentials = new WebCredentials("user@outlook.com", "p@ssw0rd"),
Url = new Uri("https://outlook.com/EWS/Exchange.asmx")
};
var email = new EmailMessage(service);
email.ToRecipients.Add("recipient@outlook.com");
email.Subject = "HelloWorld";
email.Body = new MessageBody("This is the first email I've sent by using the EWS Managed API.");
email.Send();
For more code samples visit EWS Managed API docs
Problem
Does Outlook.com support EWS? If no, what are the different ways to access a users tasks and calendar using python? So far I have done the following: Used EWSWrapper and tried out using suds-ews with python. All these implementation fail when i try with an outlook.com account. So here is what I want to know: - If EWS is not available , what other ways can I do to retrieve task and calendar list . - Is there a library in python that I can use which considers, earlier 2007 exchange servers, the newer once from 2010 to 2013 and does basic error handling. Any help is appreciated.