Home/Transactional Email/SMTP ports/SMTP authentication Office 365

SMTP authentication Office 365

SMTP AUTH is the Microsoft 365 setting that permits a mailbox to authenticate to smtp.office365.com and submit mail. It is disabled by default for tenants created after January 2020, which is why a correct client configuration frequently fails on a new tenant.

VerifiedBy Kam Low, Co-founder·Updated

Connection settings

The server is smtp.office365.com on port 587 with STARTTLS at TLS 1.3 or 1.2, per Microsoft's device and application guide.

The username is the full email address of a licensed mailbox. Client submission requires a licence, so an unlicensed or shared mailbox cannot be used this way.

Port 465 is not supported on this path. Microsoft states that a device defaulting to it does not support the TLS versions required for client submission.

Enabling SMTP AUTH

The setting exists at two levels, and both must permit it.

Why correct settings still fail
Client, correctly configured
smtp.office365.com · 587 · STARTTLS
every field is right
The gate
SMTP AUTH disabled by default
tenants created after January 2020
submission accepted
unreachable until the gate opens
per mailbox
Microsoft 365 admin centre
tenant-wide
Exchange Online PowerShell
Two ways to open it
port 465 is not supported on this path
Nothing is wrong on the client; the tenant is refusing AUTH by default. It opens per mailbox in the admin centre or tenant-wide in PowerShell.

Per mailbox, it is enabled through the Microsoft 365 admin centre on the individual account, or through Exchange Online PowerShell by setting the mailbox's SMTP client authentication property. Microsoft documents the procedure under authenticated client SMTP submission.

At the organisation level, a tenant-wide block can be lifted through Exchange Online PowerShell using the transport configuration setting for SMTP client authentication. Where the tenant blocks it, enabling the per-mailbox setting alone has no effect, which is the configuration that produces the most confusing failures.

Security defaults in Microsoft Entra ID also disable legacy authentication protocols, so a tenant with those enabled will refuse basic-auth SMTP regardless of either setting.

Authentication method

Basic authentication with a username and password still works on many tenants and is on a deprecation path. Microsoft recommends OAuth, carried over the XOAUTH2 mechanism, and treats basic auth as legacy.

Where multi-factor authentication applies to the account, an app password is required rather than the account password, and organisational policy may prohibit app passwords entirely.

Anything built to last should target OAuth. A working basic-auth integration today has a deadline attached to it that Microsoft rather than you controls.

Limits on this path

Client submission is throttled at 10,000 recipients per day and 30 messages per minute. Those figures are per mailbox and sized for a person rather than an application.

Exceeding them results in throttling rather than a clear error, which presents as intermittent failures that are difficult to attribute to a quota.

Mail sent this way authenticates as one licensed mailbox and appears from that address, carrying that mailbox's reputation rather than a domain identity you manage separately.

Volume brings its own bar. George, our CEO, wrote it into his Email Marketing Bible after a decade running SmartrMail: past 5,000 messages a day, Outlook requires SPF, DKIM and DMARC aligned, with the DMARC policy at p=quarantine or stronger. A licensed mailbox on client submission never clears that bar for application mail, because the identity is the mailbox, not a domain you control.

When to use a different method

Microsoft documents two alternatives for higher volume. SMTP relay through an inbound connector authenticates by certificate or static IP on port 25, requires no licensed mailbox and carries higher limits, though it cannot be used from a third-party hosted service. High Volume Email covers large internal sending.

Any relay endpoint is an abuse target, which shapes how we run our own. On Nitrosend's forwarding relay, TCP 2525 is firewalled to our API host, TLS and exact SMTP authentication are mandatory, and unsigned or replayed requests, extra recipients and arbitrary destinations are rejected. Microsoft's certificate-or-IP gate on the inbound connector exists for the same reason.

For application mail generally, a submission service authenticating as a verified sending domain avoids the licence requirement, the per-mailbox throttle and the deprecation timeline, and supplies the per-message delivery events, bounce classification and suppression handling that client submission does not report.

We profile the email stack behind every domain that signs up to Nitrosend, a DNS MX lookup says immediately whether a company lives on Microsoft 365, and those records are what this page's advice is calibrated against rather than guesswork.

Go deeper

First send in thirty seconds.

Simple pricing. Unlimited contacts.

Every plan includes full stack emailing: Flows, Newsletter Campaigns and Transactional Email, plus our NitroWheel LLM and all agent integrations (Claude, ChatGPT, Codex, Cursor and others). Pay for what you send, not who you store.

Free
$0
forever
  • Emails 8,000then 500/mo
  • Email types Transactional & Marketing
  • AI actions 20/mo
  • Contacts Free & Unlimited
  • Brands 3 · Custom domain 1
  • Seats 1
  • Recipients / rolling 24h 100–5,000
  • Email validation Prepaid only
Start free
Ultra
$100
per month
  • Emails 125,000/month
  • AI actions 5,000/mo
  • Brands 10 · Domains 10
  • Seats 10
  • Frontier AI Included
  • Dedicated IP Available
  • Recipients / rolling 24h 1,000–625,000
  • Email validation Prepaid only
Get started
Enterprise
$300
per month
  • AI actions Unlimited
  • Unlimited brands & domains Included
  • SSO / SAML Included
  • 99.9% SLA Included
  • Recipients / rolling 24h Contracted
  • Email validation Prepaid only
Get started

Daily allowances depend on your plan and sender standing. Strong list, domain and delivery evidence can raise standing, including on day one. Trusted receives the full plan allowance; available email credits, safety checks and delivery pacing still apply.

Free forever. No credit card required. See full comparison →