RTC PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar alikon
alikon
24 Sep 2025

Summary of Changes

Adds Mailpit integration to the Codespaces development environment to enable email testing functionality.

Docker Configuration

docker-compose.yml: Added Mailpit service with web UI on port 8025

devcontainer.json: Added port forwarding and configuration for Mailpit UI access

Joomla Configuration

post-create.sh: Automatically configures Joomla SMTP settings to use Mailpit

Sets mailer to SMTP

Configures Mailpit as SMTP host (mailpit:1025)

Disables authentication for development use

Testing Instructions

Go to Global Configuration and Send test Email

Actual result BEFORE applying this Pull Request

error

Expected result AFTER applying this Pull Request

Added Mailpit UI access via Ports tab (port 8025) to check e-mail

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar alikon alikon - open - 24 Sep 2025
avatar alikon alikon - change - 24 Sep 2025
Status New Pending
avatar alikon alikon - change - 24 Sep 2025
Labels Added: PR-5.4-dev
avatar wilsonge
wilsonge - comment - 24 Sep 2025

Mail hog seems to be dead from a support perspective - no commits in several years. Laravel moved to mail pit. Can we try that instead or something similar?

avatar alikon alikon - change - 24 Sep 2025
Title
[5.4] Add MailHog Email Testing Support to Codespaces
[5.4] Add Mailpit Email Testing Support to Codespaces
avatar alikon alikon - edited - 24 Sep 2025
avatar alikon alikon - change - 24 Sep 2025
The description was changed
avatar alikon alikon - edited - 24 Sep 2025
avatar alikon
alikon - comment - 24 Sep 2025

mailpit in place now

avatar muhme muhme - test_item - 5 Oct 2025 - Tested successfully
avatar muhme
muhme - comment - 5 Oct 2025

I have tested this item ✅ successfully on 7a3763c

Created first Codespace on 5.4-dev and tested Home Dashboard > Global Configuration > Server > Send Test Mail fails with red 'Could not instantiate mail function.'

✅ Created second Codespace on this PRs add-mailhog branch. Repeated the test and got green 'The email was sent to admin@example.com using SMTP.' Additional on port 8025 I could read and delete the email with Mailpit.
✅ Additional tested System > Scheduled Tasks > Session GC > Advanced > Enabled Task Success Notifications and run Session GC test run and got the email in Mailpit.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46154.

avatar richard67 richard67 - test_item - 10 Oct 2025 - Tested successfully
avatar richard67
richard67 - comment - 10 Oct 2025

I have tested this item ✅ successfully on 7a3763c


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46154.

avatar exlemor exlemor - test_item - 10 Oct 2025 - Tested successfully
avatar exlemor
exlemor - comment - 10 Oct 2025

I have tested this item ✅ successfully on 7a3763c

I have tested this successfully during the Friday PR Testing Group sessions with Heiko and Richard ;)


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46154.

avatar richard67 richard67 - change - 10 Oct 2025
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 10 Oct 2025

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/46154.

avatar muhme muhme - change - 15 Oct 2025
Labels Added: RTC
avatar muhme
muhme - comment - 15 Oct 2025

✅ Final test before merging with GitHub Codespace, test email sent and received in Mailpit

avatar muhme muhme - change - 15 Oct 2025
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2025-10-15 15:15:17
Closed_By muhme
avatar muhme muhme - close - 15 Oct 2025
avatar muhme muhme - merge - 15 Oct 2025
avatar muhme
muhme - comment - 15 Oct 2025

Thank you @alikon for your contribution. Thank you @wilsonge for your support. Thank you @richard67 and @exlemor for testing.

Add a Comment

Login with GitHub to post a comment