Configure Microsoft 365 SMTP Relay Without a Static IP
Question details
Configure a Microsoft 365 email-sending method when the internet connection does not have a static IP address.

- 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.
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.
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.
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.
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.
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.
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.

Configure an IP-based Exchange Online SMTP relay
Use this option if you can obtain a dedicated, clean static public IP address for the sending device or service.
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.

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.




