WPO365 icon
Email & Marketing

WPO365

Send WordPress emails from a M365 / Exchange Online Mailbox using Microsoft Graph, leveraging OAuth for authentication which is more secure than SMTP

  • By Marco van Wieren
  • v6.5 New
  • Updated

Overview

WPO365 describes itself as: “Send WordPress emails from a M365 / Exchange Online Mailbox using Microsoft Graph, leveraging OAuth for authentication which is more secure than SMTP”

It is active on 10,000+ WordPress sites and rated 5.0 out of 5 by 41 users on WordPress.org. Developers can extend it through 16 actions and 14 filters, listed below.

We haven't published a hands-on review of WPO365 yet. Want one, or need help with it? Send us a request.

How to install WPO365

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “WPO365” and pick the one by Marco van Wieren.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install wpo365-msgraphmailer --activate

Requirements: WordPress 5.0+ · PHP 7.4+ · tested up to WordPress 7.1.4

Hooks & customisation

WPO365 6.5 fires 16 actions and 14 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

wpo365-msgraphmailer — top hooks
// Authenticate but don't sign in Entra ID users.
apply_filters( 'wpo365/cookie/set', $wpo_usr, $state );

// Filter in Core/Shortcode_Helpers.php
apply_filters( 'wpo365/aad/redirect_uri', $_site_url );

// Filter in Mail/Mail_Authorization_Helpers.php
apply_filters( 'wpo365/aad/params', $params, $application_id, $authorize_url );

// Action in Insights/Event_Service.php
do_action( 'wpo365/insights/notify', $error, $category );

// Action in Services/Authentication_Service.php
do_action( 'destroy_wpo365_session' );

// Action in Services/Authentication_Service.php
do_action( 'wp_login', $wp_usr->user_login, $wp_usr );

Browse all 30 hooks with examples →

Need WPO365 customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Marco van Wieren. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 17, 2026.

Alternatives in Email & Marketing

See all →

Make email delivery easy for WordPress. Connect with SMTP, Gmail, Brevo, SendGrid, Amazon SES + more, with powerful WordPress SMTP…

4+ million installs 215 hooks

The #1 Mailchimp plugin for WordPress. Allows you to add a multitude of newsletter sign-up methods to your site.

1+ million installs 101 hooks

Launch and grow your email marketing effortlessly with Hostinger Reach. Collect contacts, sync subscribers, and send emails – all in…

1+ million installs 27 hooks

🤩 Make popups & optin forms to get more email newsletter subscribers, leads, and sales - #1 most popular popup…

1+ million installs Reviewed 75 hooks