Skip to main content

Main navigation

Web & collaboration support

Microsoft Office 365

How to allow a multi-function device or application to send e-mail through Office 365 using SMTP relay.

This method of relaying messages allows Office 365 to handle email delivery on your behalf by authenticating using your public IP address or a certificate. Your device or LOB application can send email as any email address within your owned and verified domains. The address does not have to resolve to an Office 365 mailbox. However, if the email address doesn’t exist, then recipients that reply to the emails will receive a Non-Delivery Report (NDR). If the device or application is used to send spam or bulk email against the Office 365 Terms of Service, the email address and/or IP may be blocked by Office 365. If your device or LOB application supports or requires authentication (for example, if your users need to send emails only as their own accounts), you may want to consider the Client SMTP Submission method instead. If all of your users have Office 365 mailboxes, you don’t need any additional licensing to use this option. If you have senders using the device or LOB application who don’t have an Office 365 mailbox, then you should make sure that each non-Office 365 user has an Exchange Online Protection license to cover outbound and/or inbound relay.
If you have already setup Exchange Hybrid or have an Exchange Online Protection Inbound On-premises Connector configured, then it is likely that no additional setup will be required for Office 365.
1. Obtain the public IP address you’re using. A dynamic IP address isn’t supported or allowed. You can share the IP with other devices and users, but you shouldn’t be sharing the IP with anyone outside of your company. Make note of this IP address for later.
2. Log on to the Office 365 Portal.
3. In the Exchange Admin Center, select Mail Flow > Connectors.
4. If no inbound connector exists, create one.
a. Give the connector a name.
b. Select On-Premises for the Connector Type.
c. Under Domains, add a single asterisk (*). This will allow sending to any domain. Other values in this field will limit the domains that you can send mail to.
d. In the IP Addresses section, add the IP address from Step 1.
e. Leave all the other fields with their default values and select Save.
5. In the DNS for your domain, we suggest that you modify your SPF record to include the IP address from Step 1. The finished string should look similar to this: v=spf1 ip4: ~all where is your public IP address. Skipping this step could cause email to be sent to recipients’ junk mail folders.
6. In the device’s settings, specify a Smart Host value equal to the MX record value you recorded in Step 3.

Last updated: October 27, 2014