WordPress · Open source

Sendelva

v0.4.0

Sendelva (formerly Graph Mailer) sends WordPress email through Microsoft Graph instead of SMTP. If your domain’s mail lives in Microsoft 365, your server needs no SMTP credentials, no relay, and no PHPMailer configuration. Password resets, form notifications, and everything else that uses wp_mail() goes out through your real tenant, lands with proper SPF and DKIM alignment, and appears in the sender’s Sent Items.

Source is on GitHub, GPL-2.0-or-later. The plugin is listed in the WordPress.org plugin directory. Ready to install? The setup guide covers the whole Entra walkthrough in fifteen minutes.

Plugin version on WordPress.org Active installs on WordPress.org Tested up to this WordPress version

Install

Get it running

WordPress plugin · needs a Microsoft 365 tenant

In WordPress: Plugins > Add New > search “Sendelva” > Install Now > Activate. Or with WP-CLI:

wp plugin install sendelva --activate

# Then: Entra app registration with Mail.Send (application) + admin consent,
# and enter tenant ID, client ID, secret and sender under Settings → Sendelva.

01

How it behaves

  • Inert until configured. With any credential missing, the plugin returns control to WordPress and mail flows exactly as before.
  • Fails safely. With fallback on, a Graph error hands the message back to the default mailer rather than dropping it. With fallback off, failures are loud.
  • Secrets stay out of the database if you want. The client secret field is write-only, and all four credentials can live in wp-config.php as constants instead.
  • Everything is logged. The last 20 sends, successes and failures alike, sit on the settings screen with the exact Graph error when something is off.
  • HTML, cc, bcc, reply-to, and attachments are supported to the 3 MB request limit.
Sendelvav0.4.0
The send log: recent messages with recipient, subject and whether Microsoft Graph accepted them

The send log, with any Graph errors.

02

Requirements

WordPress 6.0+, PHP 7.4+, and a Microsoft 365 tenant with admin rights once, for consent. The sender must be a real licensed or shared mailbox in the tenant. The plugin’s settings screen carries its own guided checklist that ticks itself off as you go.