This article explains how you can send email from devices and business applications when all of your mailboxes are in Office 365.
To access the article, click on the link: How to set up a multifunction device or application to send email using Office 365