WP Manifestindependent plugin directory
manifest / email / exchange-php-mailer

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.zip

Routes 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

  1. Upload the plugin folder to /wp-content/plugins/
  2. Activate via Plugins → Exchange SMTP Mailer
  3. Go to Settings → Exchange SMTP Mailer
  4. Enter your SMTP username and password
  5. 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.php is not world-readable (chmod 640 or stricter)

Logging

Failed email attempts are logged to:

  • wp-content/plugins/exchange-smtp-mailer/mail-error.log