A simple PHP mailer plugin for WordPress sites and hosted Exchange accounts

For some reason, it is prohibitively costly to enable a WordPress site to be able to send outgoing email via SMTP.

Not only do you need to pay your email provider, but the makers of plugins also want annual subscriptions, and some mail providers restrict allowing web apps to authenticate via SMTP.

Guided by Copilot in GitHub, I created a very lightweight plugin with a settings page, to store the username and password in the settings API as opposed to published code.

It requires some lines to be added to wp_config.php and it reminded me to secure the access to that file.


Comments

Leave a Reply