| 开发者 | dixonem |
|---|---|
| 更新时间 | 2026年7月22日 00:06 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
wp_mail()) through Microsoft's SMTP servers — authenticated, encrypted, and deliverable.
100% free. No premium upsell, no paid tiers, no feature gating.
Why OAuth 2.0?
Microsoft has deprecated Basic Authentication for Exchange Online and is progressively disabling password-based SMTP AUTH (new Microsoft 365 tenants have it off by default). OAuth 2.0 ("Modern Authentication") is the supported, secure path forward — which is why this plugin is OAuth-only by design. It implements the full Microsoft identity platform authorization code flow with automatic token refresh, so you sign in once and it keeps working.
Features
WP_DEBUG_LOGwp_mail(): WPForms, Contact Form 7, Gravity Forms, Ninja Forms, WooCommerce, Easy Digital Downloads, membership and newsletter plugins, etc.
dixonsmtp-for-outlook-microsoft-365 folder to /wp-content/plugins/, or install the ZIP via Plugins → Add New → Upload Plugin.Host smtp.office365.com, port 587, encryption TLS. These are the plugin defaults.
SMTP AUTH is disabled for the tenant or mailbox. Follow step 5 of the OAuth setup above.
Your From Email must be the authenticated mailbox itself, or an address that mailbox has Send As rights for. Enable "Force From Address" and set the From Email to the connected mailbox.
Yes — register the Azure app with support for personal Microsoft accounts and set Tenant ID to common. Host stays smtp.office365.com (or smtp-mail.outlook.com).
In your WordPress database, encrypted with AES-256 using a key derived from your site's unique AUTH_KEY/SECURE_AUTH_KEY salts. Nothing is sent to any third party except Microsoft's own OAuth/SMTP endpoints.
Your REST API permalinks are disabled or blocked. Enable pretty permalinks (Settings → Permalinks) and make sure /wp-json/ is reachable, then re-copy the Redirect URI.
Yes. The plugin can be network-activated; each site keeps its own settings, connection and log.