Send & Receive Issues

Fix Office 365 SMTP Connection Failed for WordPress Email

Muhammad TalhaMuhammad Talha Nov 25, 2026 868 views

Question details

Resolve the SMTP connection error when WordPress sends email through an Office 365 mailbox.

Fix Office 365 SMTP Connection Failed for WordPress Email
Product
Office 365 SMTP and Easy WP SMTP for WordPress
Device & OS
not provided
Scenario
A WordPress site uses an Office 365 mailbox to send email through Easy WP SMTP.
Observed behavior
Easy WP SMTP reports "SMTP connect() failed" when attempting to send email.
Before you start

Have access to the WordPress dashboard, Microsoft 365 admin center, and hosting control panel. Confirm that the sending account has a licensed Microsoft 365 mailbox.

Solution 1Recommended

Correct the Office 365 SMTP submission settings

Use Microsoft 365 client submission settings and verify that SMTP authentication is allowed.

1
Open SMTP settings

In the WordPress dashboard, open Easy WP SMTP settings and select the option for a custom or other SMTP server.

2
Set the server and encryption

Enter smtp.office365.com as the SMTP host and 587 as the port. Select TLS or STARTTLS, not SSL-only encryption.

3
Configure authentication

Enable SMTP authentication and enter the licensed mailbox address and the credentials or authorization required by your mailer. Use a sending address permitted for that mailbox.

4
Check Microsoft 365 settings

In the Microsoft 365 admin center, go to Users > Active users, select the mailbox, and check Mail > Manage email apps for Authenticated SMTP. Also verify that organization-wide and security policies permit the authentication method your plugin uses.

5
Send a test message

Save the settings, then use Easy WP SMTP's email test tool to send a message and inspect any error details.

Authentication requirements: SMTP AUTH availability depends on your Microsoft 365 policies and supported authentication methods. If your plugin cannot use an authentication method permitted by your organization, use a compatible Microsoft 365 mailer or another supported delivery service.
Free Microsoft Office alternative

Draft WordPress Email Content with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and Microsoft Office format compatibility for an easier transition. It can help you draft email content, but it does not fix Microsoft 365 SMTP connections.

Draft and edit WordPress notification text in WPS WriterOpen and edit Microsoft Word DOCX filesUse a familiar interface for everyday document workWork with a free, lightweight Office alternative
microsoft office alternative - wps office

Frequently Asked Questions

Which SMTP server and port should I use for Office 365?

In your WordPress SMTP plugin, set the host to smtp.office365.com and the port to 587. Choose TLS or STARTTLS rather than SSL-only encryption.

Why does the connection still fail with the correct server settings?

Your host may block outbound port 587, or its TLS libraries may not support the required connection. Check the plugin's test error and ask your hosting provider to verify outbound access and TLS 1.2 or later.

Where can I check whether SMTP AUTH is enabled for my mailbox?

In the Microsoft 365 admin center, go to Users > Active users, select the user, and check Mail > Manage email apps for Authenticated SMTP. Organization-wide and security policies can also affect access.

Can I send through Office 365 without a licensed mailbox?

For the authenticated client submission setup described here, use a licensed Microsoft 365 mailbox. Other Microsoft 365 sending methods have different requirements and are not configured by these SMTP settings.