Microsoft 365 SMTP settings

Setting up a copier, an app or a script to send email through Microsoft 365? Here are the three ways Microsoft documents, with the exact server, port and sign-in for each, the limits that apply, and what changes when Microsoft turns SMTP basic authentication off by default at the end of December 2026.

Get Scan Relay, free 14-day trial Keeps a copier that scans to email over SMTP sending through Microsoft 365, no firmware update.

Rather not do the setup yourself? We can do it for you: $149 per office, paid only after scans arrive.

Option 1: SMTP AUTH client submission (the usual one)

Serversmtp.office365.com
Port587 (25 also works)
EncryptionTLS (STARTTLS)
Sign-inThe full email address and password of a licensed Microsoft 365 mailbox
Sends toAnyone, inside or outside your organization
Limits30 messages a minute and 10,000 recipients a day per mailbox

This is what most copiers and apps were set up with. SMTP AUTH must be allowed for that mailbox and for the organization. The catch is the sign-in: a username and password is basic authentication, and Microsoft has announced that for existing organizations it is disabled by default at the end of December 2026. An admin can turn it back on for a while, and Microsoft says it will announce the final removal date in the second half of 2027. Devices that can sign in with OAuth instead keep working.

Option 2: Direct Send

ServerYour domain's MX endpoint, like yourdomain-com.mail.protection.outlook.com (shown in the Microsoft 365 admin center under your domain's DNS records)
Port25
Sign-inNone
Sends toOnly mailboxes in your own Microsoft 365 organization

No password, so the 2026 change doesn't touch it. But it can't email anyone outside your organization, many internet providers block outgoing port 25, and messages are more likely to be treated as spam unless your SPF record lists the office's public IP address.

Option 3: SMTP relay through a connector

ServerYour domain's MX endpoint, as in Direct Send
Port25
Sign-inNone; Microsoft 365 recognizes your office by a connector you create for its static public IP address (or a certificate)
Sends toAnyone, inside or outside

Also unaffected by the 2026 change, but it needs a static public IP address, an admin to create the connector in the Exchange admin center, and port 25 open from the office.

Microsoft describes all three in How to set up a multifunction device or application to send email. Check it for the current details.

Which devices use Option 1 today?

The free SMTP AUTH audit reads the Exchange admin center's SMTP AUTH clients report and lists every account still signing in with a password, so you know what to fix before the end of December.

If a device can't do OAuth, Direct Send or a connector

Scan Relay, which we make, is a small Windows service for an office PC. Copiers, apps and scripts keep sending plain SMTP to that PC, and it delivers through Microsoft 365 with modern sign-in, to anyone inside or outside. No static IP, connector or DNS changes. Free for 14 days, then $99 once per office.

Related

Get Scan Relay, free 14-day trial Keeps a copier that scans to email over SMTP sending through Microsoft 365, no firmware update.

Rather not do the setup yourself? We can do it for you: $149 per office, paid only after scans arrive.

Microsoft Publisher, Word and PowerPoint are trademarks of Microsoft; PageMaker and InDesign of Adobe; Canva and Affinity of Canva. We're not affiliated with any of them.