Outlook SMTP Not Working: Troubleshooting Guide

Photo: Unsplash — free to use, no attribution required

How Microsoft 365 Email Works

Microsoft 365 (formerly Office 365) provides email services through Exchange Online, a cloud-based email platform that handles mail routing, storage, and delivery for millions of organizations worldwide. Understanding its architecture helps you configure it correctly and troubleshoot issues when they arise.

Exchange Online supports multiple methods for sending email: direct client submission via Outlook or other email clients, SMTP relay for applications and devices that need to send email programmatically, and SMTP client submission for authenticated sending. Each method has different requirements and use cases.

For most business configurations, the key components are: your custom domain's DNS records (MX, SPF, DKIM, DMARC), the Exchange Online connector settings, and the authentication method used by your applications and devices. Getting these three elements right ensures reliable email delivery.

Setting Up Your Environment

Before starting configuration, ensure you have: a Microsoft 365 subscription with Exchange Online (Business Basic or higher), global administrator access to the Microsoft 365 Admin Center, access to your domain registrar's DNS management panel, and a list of all applications, printers, or devices that need to send email through Microsoft 365.

Plan your DNS changes carefully. You will need to add or modify MX records (to route incoming mail), SPF records (to authorize Microsoft's servers to send on your domain's behalf), DKIM CNAME records (for message signing), and optionally a DMARC record (for reporting and policy enforcement). Document your current DNS records before making changes.

If you are migrating from another email provider, schedule the cutover during low-traffic hours. MX record propagation typically takes 1-48 hours depending on your DNS provider's TTL settings. During this window, some emails may be delivered to the old provider and some to Microsoft 365.

Detailed Configuration Process

Log into the Microsoft 365 Admin Center at admin.microsoft.com. Navigate to Settings → Domains and click "Add domain." Enter your custom domain name and follow the verification process — Microsoft will ask you to add a TXT record to your domain's DNS to prove ownership.

After verification, Microsoft provides the DNS records you need to add: MX record pointing to your-domain.mail.protection.outlook.com (priority 0), Autodiscover CNAME pointing to autodiscover.outlook.com, SPF TXT record (v=spf1 include:spf.protection.outlook.com -all), and DKIM CNAME records (two selector records pointing to Microsoft's DKIM signing infrastructure).

Add these DNS records through your domain registrar's control panel. MX records direct incoming email to Microsoft's servers, SPF authorizes Microsoft to send email on your domain's behalf, and DKIM provides cryptographic signing for message integrity. Allow up to 48 hours for full DNS propagation, though most changes take effect within 1-4 hours.

For applications that need SMTP access, configure the SMTP client submission endpoint: Server: smtp.office365.com, Port: 587, Encryption: STARTTLS, Authentication: required (use a licensed Microsoft 365 account). Note that Microsoft requires modern authentication (OAuth 2.0) for some configurations — basic authentication with username/password is being deprecated.

Verifying Your Setup

Testing should cover multiple scenarios: send test emails to Gmail, Outlook, and Yahoo addresses to verify deliverability across major providers. Each provider has slightly different filtering criteria, so testing across all three catches issues that testing with just one might miss.

Check the email header information for proper authentication results. Every test email should show SPF: pass, DKIM: pass, and DMARC: pass in the headers. If any authentication check fails, the most likely cause is an incorrect or missing DNS record — go back and verify each record is entered exactly as specified by your provider.

For WordPress sites, test the specific email types your site sends: contact form submissions, WooCommerce order confirmations, password reset emails, and new user registration emails. Some plugins override WordPress email formatting, so verify that each email type looks correct and contains the expected content.

Ongoing Management

Common Microsoft 365 email issues include: SMTP AUTH disabled for the sending account (enable it in Exchange Admin Center → Mailboxes → Mail Flow Settings), basic authentication being blocked by security defaults (use OAuth 2.0 or create an exception), and connector misconfiguration causing relay failures for applications.

If external recipients are not receiving your emails, check the message trace in Exchange Admin Center → Mail Flow → Message Trace. This tool shows the exact path each message takes and where it was delivered, deferred, or failed. Use 7-day or custom date ranges to investigate specific incidents.

Maintain your DNS records as Microsoft updates their infrastructure. Periodically verify that your SPF, DKIM, and MX records match the current recommendations in the Microsoft 365 Admin Center. Microsoft occasionally updates their server addresses, and outdated records can cause authentication failures.

Frequently Asked Questions

What are the SMTP settings for Microsoft 365?

The SMTP client submission settings are: Server: smtp.office365.com, Port: 587, Encryption: STARTTLS, Authentication: Required. The username must be a full email address with a valid Microsoft 365 license, and SMTP AUTH must be enabled for that account in the Exchange Admin Center. For relay scenarios, different settings apply depending on your connector configuration.

Why is Microsoft 365 blocking my SMTP connection?

The most common causes are: SMTP AUTH is disabled for the sending account (it is off by default), Security Defaults or Conditional Access policies are blocking basic authentication, the account password has expired, or the account does not have an Exchange Online license. Check these items in order — SMTP AUTH settings are the most frequent culprit.

How do I enable SMTP AUTH in Microsoft 365?

In the Microsoft 365 Admin Center, go to Users → Active Users, select the user, click Mail → Manage email apps, and ensure "Authenticated SMTP" is checked. Alternatively, use PowerShell: Set-CASMailbox -Identity user@domain.com -SmtpClientAuthenticationDisabled $false. This setting is per-mailbox, so enable it only for accounts that need programmatic SMTP access.

Is Microsoft 365 email worth it for Indian small businesses?

For businesses that need professional email with their own domain, Microsoft 365 Business Basic provides excellent value — you get 50GB mailbox storage, Exchange Online protection, and integration with Teams and other Microsoft services. The per-user pricing is competitive when compared to maintaining your own email server or using less reliable hosting email.