Skip to content

Polar SMTP Mailer v1.0.4 - UI Enhancements & Plugin Check Compliance

Choose a tag to compare

@boopathirbk boopathirbk released this 11 Dec 09:51
· 2 commits to main since this release

✨ 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 preventDefault that 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:enable blocks
  • Hook Naming Conventions - Renamed all custom hooks (PSM_smtp_providers β†’ psm_smtp_providers, etc.) to lowercase with psm_ prefix
  • Various Naming Fixes - Minor naming convention fixes throughout the codebase

πŸ“¦ Upgrade Notes

  1. Database Update: A new from_email column has been added to the logs table. The plugin will automatically update the schema on activation.
  2. Existing Logs: Previously logged emails won't have "From Email" populated - only new emails will show this field.
  3. Deactivate/Reactivate: If the database doesn't update automatically, deactivate and reactivate the plugin to trigger the schema migration.

πŸ“₯ Installation

  1. Download the .zip file from the release assets
  2. In WordPress, go to Plugins β†’ Add New β†’ Upload Plugin
  3. Upload and activate the plugin
  4. Navigate to Polar SMTP β†’ Settings to configure

Full Changelog: v1.0.3...v1.0.4