=== EffortLess Simple Email Configuration === Contributors: domclic Tags: email, smtp, php mail, configuration Requires at least: 6.2 Tested up to: 7.0 Stable tag: 1.4.10 Requires PHP: 7.4 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Configure email settings for EffortLess plugins: PHP Mail or SMTP with custom From email. == Description == EffortLess Simple Email Configuration allows you to configure the email sending method for all EffortLess plugins. You can choose between PHP Mail (default) or SMTP, and define a custom From email and name. Works reliably for test emails and plugin notifications. == Installation == 1. Upload the plugin files to the `/wp-content/plugins/effortless-simple-email-configuration` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Go to Settings > EffortLess Simple Email Configuration to configure. == Frequently Asked Questions == = Can I use a From email different from SMTP username? = Yes, with SMTP configured, the plugin sets the From header while using the SMTP user for authentication, similar to Thunderbird. == Changelog == = 1.4.10 = * Refactor: donate notice file kept as includes/class-donate-notice.php (preserves SVN file history); class remains Effortless_Donate_Notice. = 1.4.9 = * Fix: donate notice now correctly displays on Network Admin pages — screen ID normalization strips WordPress's -network/-user suffix before matching. = 1.4.8 = * Refactor: donate notice class renamed Donate_Notice → Effortless_Donate_Notice (WP-standard prefix); file renamed to class-effortless-donate-notice.php. No phpcs:ignore needed anywhere. = 1.4.7 = * Fix: donate notice now uses current_screen hook for reliable screen detection on single-site and multisite Network Admin pages. = 1.4.6 = * Improvement: added dismissible donate notice on the plugin settings screen. * Improvement: added Donate link header field and includes/class-donate-notice.php. = 1.4.4 = * Restored input validation before saving SMTP settings (host, port, user, password, from email and name) * Restored SMTP Connection Test section (checks credentials without sending email, with detailed debug log) * Fixed SMTP Connection Test to properly decrypt stored password before testing * SMTP password preserved when left blank on save (no accidental overwrite) * Password field shows hint when a password is already stored = 1.4.3 = * Security: SMTP password stored encrypted (AES-256-CBC) instead of plaintext * SMTP password field no longer redisplayed after save (enhanced security practice) = 1.4.2 = * Security fix: proper escaping at output time (escaping late) for all echoed variables * Refactored elsec_handle_test_email() to return structured data instead of pre-escaped HTML = 1.4.1 = * Fixed SMTP not working for regular WordPress emails (only worked for test emails) * SMTP configuration now hooks into phpmailer_init globally * Debug output now only enabled during test emails = 1.4.0 = * Added WordPress Multisite support with network-wide settings * Settings page moved to Network Admin > Settings for multisite installations * All sites in the network share the same email configuration * Single-site installations continue to work as before = 1.3.1 = * Added uninstall.php for proper database cleanup on plugin deletion = 1.3.0 = * WPCS/PHPCS compliance improvements * Fixed text domain consistency (now uses effortless-simple-email-configuration everywhere) * Replaced anonymous functions with named functions for better WordPress compatibility * Added complete PHPDoc blocks with @since tags * Added plugin version constant (ELSEC_VERSION) * Added missing plugin headers (Requires PHP, Plugin URI, Author URI, Domain Path) * Improved nonce verification timing * Removed hardcoded default values * Fixed indentation consistency (tabs throughout) = 1.2.7 = * Improved WordPress coding standards compliance (PHPCS/WPCS) * Fixed text domain issues * Added proper sanitization and wp_unslash() * Improved SMTP From handling == Upgrade Notice == = 1.4.4 = Restores validation and SMTP Connection Test lost in 1.4.3. Password encryption from 1.4.3 is kept — existing plaintext passwords are handled transparently. = 1.3.0 = Major code quality update for WordPress plugin directory compliance. Re-save your settings after upgrade.