Fix WordPress Email Delivery to the Same Microsoft 365 Domain
Question details
Determine why WordPress emails do not reach recipients in the website's own Microsoft 365 domain.
- Product
- Exchange Online and WordPress SMTP plugin
- Device & OS
- not provided
- Scenario
- A WordPress site on a VPS uses an SMTP plugin and an Exchange connector based on the VPS IP address to send email.
- Observed behavior
- Messages reach external addresses but are not delivered to recipients in the site's verified Exchange or Microsoft 365 domain.
Have an administrator account, access to the domain's DNS settings and WordPress SMTP plugin, and the VPS's public sending IP address ready. Collect a failed recipient address, the approximate sending time, and any non-delivery report (NDR).
Check Microsoft 365 mail routing and the Exchange connector
Use these checks when external mail works but WordPress messages do not reach recipients in the same Microsoft 365 domain.
In the Microsoft 365 admin center, open Settings > Domains, select the affected domain, and review its DNS records. Compare the listed MX destination with the MX record at your DNS provider; correct any mismatch.
In the WordPress admin dashboard, open your SMTP plugin's settings and check the configured SMTP host and port. If the VPS or hosting panel handles local mail routing, check that it is not routing the domain to a local mailbox instead of Exchange Online.
In the Exchange admin center, open Mail flow > Connectors and select the connector used by the website. Confirm that it is enabled and permits the VPS's current public sending IP address.
Open the sender's non-delivery report and record its error code and diagnostic details. In the Exchange admin center, use Mail flow > Message trace to search for the message by sender, recipient, and time; share the complete NDR privately with your administrator or support team.
Use the SMTP plugin's test email feature to send to an address in the affected domain. Check the inbox and any new NDR or message trace result to confirm whether delivery succeeded.
Use WPS Office as an Alternative for Your Office Documents
WPS Office is a free, lightweight office suite with a familiar interface and Microsoft Office format support, making it easy to move your document work. It does not change WordPress SMTP settings or fix Exchange Online mail routing.

Frequently Asked Questions
Where can I find the correct Microsoft 365 MX record?
In the Microsoft 365 admin center, go to Settings > Domains, select your domain, and review its DNS records. Compare the listed MX destination with the record published at your DNS provider.
Why can WordPress send externally but not to my own domain?
Possible causes include an incorrect MX record, local mail routing on the VPS, or an Exchange connector that does not accept the sending IP. Check the SMTP plugin settings, connector, and any NDR to identify the actual cause.
How do I check whether Exchange Online received the message?
In the Exchange admin center, open Mail flow > Message trace and search using the sender, recipient, and approximate sending time. If there is no trace, investigate the WordPress SMTP settings and VPS mail routing.
What should I provide to support if delivery still fails?
Share the complete non-delivery report privately, along with the sender and recipient addresses, sending time, and relevant message trace results. Include the VPS's public sending IP if the connector is IP-based.




