Skip to content

How to send WordPress emails via Microsoft 365

Around 43% of all websites use WordPress as their Content Management System. Most of the time, the email isn’t sent successfully from the default SMTP hosting, and it’s unreliable. It’s best to configure Microsoft 365 SMTP relay so the messages from WordPress are sent via Microsoft 365. In this article, you will learn how to send WordPress emails via Microsoft 365.

Send WordPress emails via Microsoft 365

There are different methods to send WordPress emails via Microsoft 365:

  1. Send emails using the Microsoft Graph API (article)
  2. Send mail using Microsoft 365 or Office 365 SMTP relay (this article)

Step 1: Configure Microsoft 365 SMTP relay

Go through the article Configure Office 365 SMTP relay to set up SMTP relay for Microsoft 365.

Step 2: Install Fluent SMTP WordPress plugin

Go through the below steps to install Fluent SMTP WordPress plugin:

  1. Sign in to WordPress
  2. Click on Plugins > Add New
  3. Search for fluent smtp
  4. Click Install Now
How to send WordPress emails via Microsoft 365 install plugin
  1. Click Activate
How to send WordPress emails via Microsoft 365 activate plugin

The Fluent SMTP plugin is successfully installed on WordPress.

Step 3: Configure Microsoft 365 SMTP settings

To configure Microsoft 365 SMTP settings, follow these steps:

  1. Click Settings > Fluent SMTP
  2. Select Other SMTP
How to send WordPress emails via Microsoft 365 other SMTP
  1. Fill in the From Email field: the email that will be shown to the recipient
  2. Fill in the From Name field: the name that will be shown to the recipient
  1. Fill in SMTP Host: yourdomain.mail.protection.outlook.com
  2. Fill in SMTP Port: 25
  3. Enable Encryption: TLS
  4. Enable Use Auto TLS
  5. Click Save Connection Settings
How to send WordPress emails via Microsoft 365 configure settings
  1. The Active Email Connections and General Settings screen appears.
How to send WordPress emails via Microsoft 365 settings

Step 4: Send WordPress test email

Test that everything works correctly and send a test email from the Fluent SMTP WordPress plugin:

  1. Select the email from the From field
  2. Add the recipient in the Send To field
  3. Click on Send Test Email

In our example, a test email is sent to a Gmail address.

How to send WordPress emails via Microsoft 365 send test email
  1. The Test Email has been successfully sent message appears.
  1. The test email successfully arrives in the recipient’s inbox.

Step 5: Check email headers

To verify that everything is set up correctly, you should check the message headers.

  1. Click on More > Show Original
  1. Verify that the three email authentication methods show as follows:
  • SPF: PASS
  • DKIM: PASS
  • DMARC: PASS
  1. Click Copy to clipboard
How to send WordPress emails via Microsoft 365 original message
  1. Go to Message Header Analyzer
  2. Paste the message header information
  3. Click Analyze headers

Inspecting the headers from the Gmail address in Message Header Analyzer, we can see the message goes from the WordPress server via Microsoft 365 (Exchange Online) to Google servers.

How to send WordPress emails via Microsoft 365 message header analyzer

That’s it!

You successfully did configure WordPress to send emails via Exchange Online – Microsoft 365.

Read more: How attackers bypass third-party spam filtering »

Conclusion

You learned how to send WordPress emails via Microsoft 365. Configure a Microsoft 365 connector in Microsoft 365 Exchange admin center and add the WordPress website IP address. Next, add the Fluent SMTP plugin and configure the Microsoft 365 SMTP settings. Remember to send a test email, verify that the authentication methods are passed and that the message headers show that the message is routed via Exchange Online.

Did you enjoy this article? You may also like Change Exchange Online deleted items retention period. Don’t forget to follow us and share this article.

ALI TAJRAN

ALI TAJRAN

ALI TAJRAN is a passionate IT Architect, IT Consultant, and Microsoft Certified Trainer. He started Information Technology at a very young age, and his goal is to teach and inspire others. Read more »

This Post Has 0 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *