Exchange SMTP Mailer
Routes emails from my WordPress site through GoDaddy-hosted MS Exchange using SMTP.
by Dan Keegan · github.com/ironicrebel/exchange-php-mailer · website
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ironicrebel/exchange-php-mailer/archive/refs/heads/main.zipRoutes WordPress email through my GoDaddy-hosted Exchange (Microsoft 365) account using SMTP. For when you don't want to pay Microsoft, WP SMTP, GoDaddy and who knows what other parties are after my money.
Features
- SMTP override via
PHPMailer - Admin settings page for credentials
- Logs failed email attempts to
mail-error.log - Compatible with Microsoft 365 / Office 365 SMTP
Requirements
- WordPress 5.0+
- Microsoft 365 account with SMTP enabled
- TLS-enabled hosting (port 587 must be open)
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate via Plugins → Exchange SMTP Mailer
- Go to Settings → Exchange SMTP Mailer
- Enter your SMTP username and password
- Save changes and test email delivery
Security Notes
- Credentials are stored using WordPress options API
- For production, consider using environment variables or app passwords
- Ensure
wp-config.phpis not world-readable (chmod 640or stricter)
Logging
Failed email attempts are logged to:
wp-content/plugins/exchange-smtp-mailer/mail-error.log