Polar SMTP Mailer v1.0.4 - UI Enhancements & Plugin Check Compliance
β¨ What's New
π§ Enhanced Email Log Modal
- From Email Tracking - Email logs now capture and display the sender email address
- Modern Grid Layout - Redesigned modal with clean two-column display showing To, From, Subject, Status, Provider, and Date
- Mobile Responsive - Modal now adapts properly to smaller screens
- Better Error Display - Error messages shown in styled alert box
π Debug Features
- Debug Logs Admin Page - New menu appears when debug mode is enabled, allowing you to view SMTP communication logs directly in the plugin
π΄ Bug Fixes
- Backup SMTP Test Button - Fixed JavaScript context issue and missing
preventDefaultthat caused the button to be unresponsive - Backup Test Result Styling - Added proper success/error color styling for backup connection test results
- Duplicate Email Logs - Fixed issue where test emails created two log entries
- Global wp_mail Capture - Mailer now hooks immediately during plugin load to capture ALL emails
- Uninstall Cleanup - Improved uninstall process to properly delete backup SMTP options
π‘οΈ Plugin Check Compliance
- Global Variable Naming - Fixed all "NonPrefixedVariableFound" errors in admin views by using
phpcs:disable/phpcs:enableblocks - Hook Naming Conventions - Renamed all custom hooks (
PSM_smtp_providersβpsm_smtp_providers, etc.) to lowercase withpsm_prefix - Various Naming Fixes - Minor naming convention fixes throughout the codebase
π¦ Upgrade Notes
- Database Update: A new
from_emailcolumn has been added to the logs table. The plugin will automatically update the schema on activation. - Existing Logs: Previously logged emails won't have "From Email" populated - only new emails will show this field.
- Deactivate/Reactivate: If the database doesn't update automatically, deactivate and reactivate the plugin to trigger the schema migration.
π₯ Installation
- Download the
.zipfile from the release assets - In WordPress, go to Plugins β Add New β Upload Plugin
- Upload and activate the plugin
- Navigate to Polar SMTP β Settings to configure
Full Changelog: v1.0.3...v1.0.4