Web357 Mail Connect for Microsoft Outlook 365

Description

The Microsoft Outlook 365 Mail Connect WordPress plugin lets you send all your WordPress emails — WooCommerce notifications, Contact Form 7 / WPForms / Fluent Forms / Gravity Forms submissions, password resets, and any wp_mail() call — through Microsoft 365, Outlook, or Exchange Online, using the secure Microsoft Graph API and modern OAuth 2.0 authentication. No SMTP passwords, no fragile basic auth — just connect your Microsoft account once and your transactional emails will be sent reliably from your real mailbox, dramatically improving deliverability and helping you stay compliant with Microsoft’s modern authentication requirements (after the deprecation of basic auth / SMTP AUTH). If you want a simple, secure way to fix WordPress email delivery using your Microsoft 365 / Outlook mailbox, Microsoft Outlook 365 Mail Connect is for you.

External services

This plugin connects to Microsoft’s identity and mail services so it can send WordPress emails through your Microsoft 365 / Outlook / Exchange Online mailbox using OAuth 2.0 and the Microsoft Graph API. It requires an Azure / Microsoft Entra ID app registration that you create and control.

Microsoft identity platform (login.microsoftonline.com) is used to authorize the plugin against your Microsoft account and to exchange/refresh the resulting access token. When you click “Connect” in the Configuration tab, and again automatically whenever a stored access token expires, the plugin sends your app’s Client ID, Client Secret, Tenant ID, redirect URI, and the OAuth authorization code or refresh token, and receives back an access token and refresh token in return.
Terms of use: https://www.microsoft.com/en-us/servicesagreement/ — Privacy statement: https://privacy.microsoft.com/en-us/privacystatement

Microsoft Graph API (graph.microsoft.com) is used to (1) read the connected account’s email address right after you authorize, and (2) send every outgoing email — the message subject, HTML/text body, recipient addresses, headers, and attachments — using your connected mailbox’s identity. This happens every time WordPress (or any plugin using wp_mail()) sends an email, and when you use the built-in Test Email tool.
Terms of use: https://learn.microsoft.com/en-us/legal/microsoft-apis/terms-of-use — Privacy statement: https://privacy.microsoft.com/en-us/privacystatement

No data is sent to Microsoft until you complete the OAuth connection yourself.

Features

  • OAuth 2.0 authentication via Microsoft Graph — connect your Microsoft 365 / Outlook / Exchange Online account in one click, no app passwords required.
  • Reroute every wp_mail() call through the Microsoft Graph API for reliable delivery and improved inbox placement.
  • Compatible with Microsoft’s modern authentication — works after the deprecation of basic auth / SMTP AUTH for Exchange Online.
  • Multi-tenant support — connect a Private-only tenant via Tenant ID, or leave it blank for Multi-tenant apps.
  • Test Email tool — send a real test email from the WordPress admin to verify your setup before going live.
  • One-click revoke — disconnect and delete the stored access key whenever you want.
  • Compatible with WooCommerce, Contact Form 7, WPForms, Fluent Forms, Gravity Forms, MemberPress, LearnDash, and any plugin that uses wp_mail().
  • Translation-ready and works on any modern WordPress theme.

Screenshots

Installation

The plugin is simple to install:

  1. Download the file web357-mail-connect-for-microsoft-outlook-365.zip.
  2. Unzip it.
  3. Upload the web357-mail-connect-for-microsoft-outlook-365 directory to your /wp-content/plugins directory.
  4. Go to the plugin management page and enable the plugin.
  5. Configure the options from the Microsoft Outlook 365 Mail Connect settings page.
  6. Follow the setup guide to register your Azure / Entra ID app and connect your Microsoft 365 mailbox.

FAQ

Why should I send WordPress emails through Microsoft 365 / Outlook?

By default, WordPress sends emails via the PHP mail() function from your hosting server — which often ends up in the spam folder or gets dropped entirely. Sending through Microsoft 365 / Outlook means your emails go out from a real, authenticated mailbox over the official Microsoft Graph API, dramatically improving deliverability and meeting Microsoft’s modern authentication requirements.

Does this plugin work after Microsoft disabled basic auth / SMTP AUTH?

Yes. That’s exactly why this plugin exists. Microsoft has deprecated basic authentication (username + password SMTP) for Exchange Online and Microsoft 365. Microsoft Outlook 365 Mail Connect uses OAuth 2.0 + the Microsoft Graph API, which is the official, supported way to send mail from third-party apps going forward.

Do I need an app password or to weaken my account security?

No. The plugin uses Microsoft’s modern OAuth 2.0 flow. You connect your Microsoft account once through a secure consent screen — no app passwords, no plain-text credentials stored anywhere on your site.

Does it work with personal Outlook.com, Microsoft 365 Business, and Exchange Online accounts?

Yes. The plugin supports Microsoft 365 (formerly Office 365), Outlook.com personal accounts, and Exchange Online mailboxes registered in your Azure AD / Microsoft Entra ID tenant. Just connect the account you want to send from.

Will it work with WooCommerce, Contact Form 7, WPForms, and other plugins?

Yes. The plugin routes every wp_mail() call through Microsoft Graph, so every email triggered by WooCommerce (order confirmations, receipts, low-stock alerts), Contact Form 7, WPForms, Fluent Forms, Gravity Forms, MemberPress, LearnDash, and any other plugin is automatically delivered via your Microsoft 365 mailbox.

Can I test my configuration before going live?

Yes. The plugin includes a built-in Test Email tool that sends a real test message right from the admin.

How do I disconnect or revoke access from my Microsoft 365 account?

Click the “Delete Access Key” button in the Configuration tab to remove the plugin’s credentials. You can also revoke access at any time from your Microsoft account / Azure portal under “Enterprise applications” your app Permissions.

Is my data safe with this plugin?

Yes. The plugin stores only the OAuth access and refresh tokens needed to send mail on your behalf — no Microsoft account password is ever stored. All communication with Microsoft happens over HTTPS using the official Microsoft Graph API.

Is Microsoft Outlook 365 Mail Connect free?

Yes. OAuth connection and sending via Microsoft Graph, plus the Test Email tool, are all free — there is no paid upgrade.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Web357 Mail Connect for Microsoft Outlook 365” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

25-Aug-2026 : v1.0.0

  • First release