Exchange Connection Problems

Configure Microsoft 365 SMTP Relay Without a Static IP

Emma BrownEmma Brown Nov 22, 2026 868 views

Question details

Configure a Microsoft 365 email-sending method when the internet connection does not have a static IP address.

Configure Microsoft 365 SMTP Relay Without a Static IP
Product
Microsoft 365 Exchange Online
Device & OS
not provided
Scenario
An application or device needs to send email through Microsoft 365, but its ISP cannot provide a clean static IP address.
Observed behavior
Dynamic or blacklisted IP addresses can cause delivery failures with an IP-based SMTP relay.
Before you start

Check whether the sending application supports SMTP authentication, OAuth, and TLS 1.2 or later. Have access to a licensed Exchange Online mailbox and the Microsoft 365 admin center.

Solution 1Recommended

Use Microsoft 365 SMTP client submission

Use authenticated client submission when the sending device has a dynamic IP address and supports the required authentication.

SMTP client submission authenticates with a mailbox instead of identifying the sender by a static IP address. It is subject to Exchange Online sending limits and authentication policies.

1
Check mailbox SMTP AUTH

In the Microsoft 365 admin center, go to Users > Active users, select the sending mailbox, and open Mail > Manage email apps. Check whether Authenticated SMTP is enabled; tenant security settings can also restrict it.

2
Enter the SMTP server

In the application or device's outgoing mail settings, enter smtp.office365.com as the server, select port 587, and enable STARTTLS with TLS 1.2 or later.

3
Configure authentication

In the SMTP authentication settings, use the licensed mailbox and configure OAuth if the application supports it. Check current Microsoft 365 authentication requirements before relying on a password-based configuration.

4
Send a test message

Use the application's Send test email button or send a message to an external recipient. If it fails, check the SMTP error, authentication settings, and whether outbound port 587 is permitted.

Use Microsoft 365 SMTP client submission
Check sender permissions: If the application sends from an address other than the authenticated mailbox, the account may need Send As permission for that address.
Free Microsoft Office alternative

Work with Office files in WPS Office

WPS Office is a free, lightweight alternative for working with documents, spreadsheets, and presentations. Its familiar interface and Microsoft Office format compatibility make it easy to move existing files, although it does not configure or repair Exchange Online SMTP relay.

Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface to move existing Office files into WPS Office.Work with documents and spreadsheets while managing your Microsoft 365 email configuration separately.
microsoft office alternative - wps office

Frequently Asked Questions

Can I send Microsoft 365 email from a dynamic IP address?

Yes. If your application supports the required authentication and TLS, configure SMTP client submission through smtp.office365.com on port 587. It does not require a static IP address.

Where can I enable SMTP AUTH for a mailbox?

In the Microsoft 365 admin center, go to Users > Active users, select the mailbox, and choose Mail > Manage email apps. Check Authenticated SMTP. Tenant-wide security settings can also affect availability.

Can an Exchange Online connector bypass an IP blocklist?

No. A connector does not bypass blocklist or reputation checks. Check the sending IP's reputation and resolve any listing or use a clean static IP.

Do I need to add my static relay IP to SPF?

Review your existing SPF record for all sending paths. Microsoft 365's SPF mechanism authorizes its outbound servers; add your static IP if it also sends directly to recipient servers. Avoid publishing multiple SPF records for the same domain.