Get started with Office 365 REST API

[Update Aug 20th, 2015]: It looks like there is a new getting started experience, which will help register your app, and even create a starter project in the language of your choice. I would certainly recommend trying that first, rather than going through the manual steps outlined below. To register apps manually (e.g., not through … Read more

How to send SMTP email for office365 with python using tls/ssl

Well, you are almost there. The following code will do the trick: import smtplib mailserver = smtplib.SMTP(‘smtp.office365.com’,587) mailserver.ehlo() mailserver.starttls() mailserver.login(‘[email protected]’, ‘password’) #Adding a newline before the body text fixes the missing message body mailserver.sendmail(‘[email protected]’,'[email protected]’,’\npython email’) mailserver.quit() Use the following links for more information: Python: Send Email via Office 365 https://docs.python.org/3/library/smtplib.html https://gist.github.com/jasonjoh/3ec367594c3fa662ee983a617bdc7deb

Send SMTP email using System.Net.Mail via Exchange Online (Office 365)

Fixed a few typos in the working code above: MailMessage msg = new MailMessage(); msg.To.Add(new MailAddress(“someone@somedomain.com”, “SomeOne”)); msg.From = new MailAddress(“you@yourdomain.com”, “You”); msg.Subject = “This is a Test Mail”; msg.Body = “This is a test message using Exchange OnLine”; msg.IsBodyHtml = true; SmtpClient client = new SmtpClient(); client.UseDefaultCredentials = false; client.Credentials = new System.Net.NetworkCredential(“your user … Read more

EWS API – Error when recreating notification subscriptions

Given the documentation at: https://msdn.microsoft.com/en-us/library/office/dn458788(v=exchg.150).aspx When a subscription is lost, or is no longer accessible, it is best to create a new subscription and not include the old watermark in the new subscription. Resubscribing with the old watermark causes a linear scan for events, which is costly. Instead, create a new subscription and compare folder … Read more

tech