Send & Receive Issues

Fix Microsoft 365 SMTP Relay Not Working: Troubleshooting Guide

Aamir Naveed AkramAamir Naveed Akram Nov 4, 2026 869 views

Question details

SMTP relay messages appear to send successfully but remain stuck in local queues and fail to arrive at their Microsoft 365 destination.

Fix Microsoft 365 SMTP Relay Not Working: Troubleshooting Guide
Product
Microsoft 365
Device & OS
not provided
Scenario
Sending emails through a network device or local server utilizing a Microsoft 365 SMTP relay connector.
Observed behavior
Emails stay stuck in the outbound queue instead of being delivered. Common underlying causes include blocked IP addresses, ISP restrictions on port 25, or outdated SPF/connector settings.
Before you start

Ensure you know the static public IP address of your sending server and have administrator credentials for the Microsoft 365 Exchange Admin Center.

Solution 1Recommended

Delist Blocked IP Addresses from Spam Authorities

If your sending IP address is blacklisted by spam monitoring services, Microsoft 365 will refuse the relayed connections.

A primary reason for SMTP relay failure is that the sending IP has been flagged by external spam blocklists. Until the IP is removed from these lists, your relay attempts will be rejected or forced to queue indefinitely.

1
Identify Your Public IP Address

Determine the exact static public IP address that your on-premises server, application, or device uses to send outbound emails.

2
Check Spam Blocklists

Use a reputable online MX lookup or blacklist checking tool to scan your public IP address against major spam blocklist databases.

3
Submit a Delisting Request

Navigate to the website of the specific blocklist authority that flagged your IP. Fill out their required delisting request form, submit it, and wait for the process to complete before testing your email relay again.

Delist Blocked IP Addresses from Spam Authorities
Delisting Propagation Time: Delisting requests can take anywhere from a few hours to over 24 hours to propagate completely across all spam filtering authorities.
Free Microsoft Office alternative

Boost Your Productivity with WPS Office

While resolving complex Microsoft 365 SMTP and Exchange server issues can be tedious, your daily document creation shouldn't be. WPS Office offers a free, lightweight, and highly compatible alternative to Microsoft Office, letting you maintain peak productivity seamlessly without subscription hassles.

  1. 1. Download WPS Office: Visit the official WPS website to download the free, lightweight installer package.
  2. 2. Install and Launch: Run the quick installation process and open the all-in-one office suite on your desktop.
  3. 3. Edit Your Documents Seamlessly: Open your existing .docx, .xlsx, or .pptx files directly and continue working with full format compatibility.
High compatibility with Microsoft Word, Excel, and PowerPoint formatsAll-in-one workspace with powerful built-in PDF editing toolsFamiliar user interface for a smooth transition with no learning curveLightweight design that runs efficiently on virtually any device without taking up massive storage
microsoft office alternative - wps office

Frequently Asked Questions

How do I know if my IP address is blocked by Microsoft 365?

You can check the Non-Delivery Report (NDR) bounce message for specific rejection error codes (such as 5.7.1), or use the Microsoft Remote Connectivity Analyzer to run an outbound SMTP test which will clearly indicate if your IP has been blocked.

Why are my emails queuing locally instead of generating a bounce back?

If your ISP or local network firewall is completely blocking outbound port 25, your mail server cannot reach the destination Microsoft server to initiate the connection handshake. This results in messages remaining queued locally rather than triggering an immediate rejection.

Do I need a static IP address for an SMTP relay to Microsoft 365?

Yes, setting up a secure SMTP relay connector in Microsoft 365 requires you to authenticate using a static public IP address. Dynamic IP addresses are generally not supported for this method and often end up automatically categorized on spam blocklists.