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:
Any help is appreciated.
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("[email protected]", "p@ssw0rd"),
Url = new Uri("https://outlook.com/EWS/Exchange.asmx")
};
var email = new EmailMessage(service);
email.ToRecipients.Add("[email protected]");
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