Skip to content

v0.2.2 - Critical Bug Fixes

Latest

Choose a tag to compare

@liewcf liewcf released this 07 Nov 08:09

🔥 Critical Bug Fixes

Version 0.2.2 resolves critical issues preventing email delivery in v0.2.0 and v0.2.1.

Priority: CRITICAL - All users should upgrade immediately.


What's Fixed

1. Double-Encryption Bug ✅

Problem: API keys became corrupted when settings were saved multiple times, causing authentication failures.

Solution:

  • ✅ Added automatic detection to prevent re-encryption
  • ✅ Auto-repair of existing corrupted keys on plugin load
  • ✅ One-time migration runs transparently
  • ✅ No user action required

2. API V2 Compatibility ✅

Problem: Plugin was sending unsupported fields causing 500 Internal Server Errors.

Solution:

  • ✅ Removed SubmittedContentType, IsHtmlContent, ReplyToEmail fields
  • ✅ Made SenderName optional (only sent when not empty)
  • ✅ Added default values for empty subject/message fields
  • ✅ Full compliance with EnjinMel V2 API spec

📥 Installation

WordPress Admin (Recommended)

  1. Download enjinmel-smtp-0.2.2.zip below
  2. Go to Plugins → Add New → Upload Plugin
  3. Upload and activate

Manual

  1. Extract zip to /wp-content/plugins/enjinmel-smtp/
  2. Activate in WordPress admin

✅ Verification

After updating:

  1. Check version: Should show "0.2.2" in Plugins page
  2. Test email: Go to EnjinMel SMTP → Settings → Send Test Email
  3. Check logs: Go to EnjinMel SMTP → Email Logs → Status should be "Sent"

Auto-repair runs automatically - if you had issues, they should be fixed immediately without any action needed!


🔄 Upgrade Path

  • From v0.2.1: Direct upgrade, auto-repair included
  • From v0.2.0: Includes all v0.2.1 fixes + auto-repair
  • From v0.1.0: All security, performance, and API fixes included

📋 Files Changed

  • enjinmel-smtp.php - Added double-encryption detection and auto-repair
  • includes/class-enjinmel-smtp-api-client.php - API V2 compliance
  • CHANGELOG.md - Updated changelog
  • readme.txt - Updated for WordPress.org

📚 Documentation


🐛 Known Issues

None. All critical issues are resolved.

Limitation: Reply-To headers not supported (V2 API doesn't document this field).


💬 Support

  • Issues: GitHub Issues
  • Email Logs: Check EnjinMel SMTP → Email Logs for detailed errors
  • Requirements: WordPress 5.3+, PHP 7.4+, Valid EnjinMel API key

🙏 Thank You

Thanks to all users who reported issues and helped with testing. Your feedback was invaluable!


This is a production-ready release. 🚀