=== CodingBunny Mail SMTP === Contributors: codingbunny Tags: smtp, email, wp_mail, mail, phpmailer Requires at least: 6.0 Tested up to: 7.0 Requires PHP: 8.0 Stable tag: 1.0.3 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Configure an SMTP server to send emails from your WordPress site. Simple, lightweight, and secure. == Description == CodingBunny Mail SMTP allows you to easily configure an SMTP server to send all outgoing emails from your WordPress website. By default, WordPress uses the `wp_mail()` function which relies on the server’s PHP mail configuration. This often leads to delivery issues or emails ending up in spam. This plugin solves that problem by routing emails through a reliable SMTP server. ### Key Features * Enable or disable SMTP with a single toggle * Supports SSL, TLS, or no encryption * Optional SMTP authentication (username & password) * Secure password storage using encryption * Custom "From Email" and "From Name" * Built-in test email tool * Lightweight, no third-party dependencies * Fully compatible with WordPress PHPMailer * Clean and accessible admin interface ### Security The SMTP password is encrypted before being stored in the database** and is never displayed in plain text in the WordPress admin area. == Installation == 1. Upload the `codingbunny-mail-smtp` folder to the `/wp-content/plugins/` directory or 2. Install the plugin via the WordPress Plugins screen 3. Activate the plugin through the **Plugins** menu in WordPress 4. Go to **Settings → CodingBunny Mail SMTP** 5. Configure your SMTP details and save == Configuration == You can configure the following options: * SMTP Host (e.g. `smtp.example.com`) * SMTP Port (e.g. `587`) * Encryption: None, TLS, or SSL * Enable/Disable SMTP authentication * SMTP Username & Password * Sender Email Address * Sender Name After saving, use the Test Email section to verify your configuration. == Frequently Asked Questions == = Does this plugin replace wp_mail()? = Yes. The plugin hooks into WordPress PHPMailer and sends all emails via SMTP when enabled. = Is the SMTP password secure? = Yes. The password is encrypted using WordPress salts and OpenSSL before being stored. = What happens if I leave the password field empty? = The existing password will not be overwritten. = Can I disable SMTP temporarily? = Yes. Simply disable the "Enable SMTP" toggle. = Does this plugin conflict with other mail plugins? = It is recommended to use only one SMTP/mail plugin at a time. == Changelog == = 1.0.3 – 03/06/2026 = * Improved: Compatibility with WordPress 7 * Improved: Added placeholder in the password field when it is set * Improved: Improved error handling * Improved: Optimized the sending of test emails * Improved: Improved compatibility with SMTP servers * Improved: Improved password security = 1.0.2 – 01/28/2026 = * Fix: Fixed a bug that deleted the test email when saving settings * Fix: Fixed a bug that prevented the Sender Name from working if the Sender Email was not set = 1.0.1 – 01/28/2026 = * Fix: Fixed test email saving error = 1.0.0 – 01/27/2026 = * New: Initial Release == Uninstall == When the plugin is uninstalled, all plugin options (including encrypted credentials) are removed from the database.