So I’ve finally got around to officially publishing my first WordPress plugin: Mail Integration for Office 365 by Cross Connected – WordPress plugin | WordPress.org
It’s by no means the first plugin I’ve ever written, but to date my exploits have solely focused on developing plugins that meet my own requirements; filling niche gaps that are hardly mass market. However, I think I’ve finally spotted a gap that could have some legs – the ability to connect WordPress to Office 365 to send emails from an Exchange/365 account!
Up until recently it has been possible to connect to Office 365/Exchange server via SMTP. However, Microsoft have now disabled basic authentication over SMTP by default, requiring more modern authentication methods.
You can re-enable basic authentication, but if you use two factor authentication (which you should by the way!), this can cause issues. It is also far less secure than OAuth2 (the authentication protocol this plugin uses), and Microsoft are right to disable it in an age of GPU password cracking and brute force attacks!
Now don’t get me wrong, there are plugins out there that will connect you to Office 365/Exchange. However, the ones I’ve found only provide this through a paid for feature/addon. Given that Office 365 is itself a paid for service, to my mind that is a little annoying.
For this reason I’ve made this free plugin for all to use and hopefully benefit from. It’s a little convoluted to set up, but that’s the nature of OAuth2 I’m afraid. However, if you’re patient and follow the guide found here diligently, you should be able to get it up and running pretty quickly.