Skip to content

[6.2] MailTemplate should work with interface#47677

Open
laoneo wants to merge 3 commits intojoomla:6.2-devfrom
Digital-Peak:mailtemplate/interface
Open

[6.2] MailTemplate should work with interface#47677
laoneo wants to merge 3 commits intojoomla:6.2-devfrom
Digital-Peak:mailtemplate/interface

Conversation

@laoneo
Copy link
Copy Markdown
Member

@laoneo laoneo commented Apr 24, 2026

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

Summary of Changes

The MailTemplate class should work with an injected MailerInterface and not concrete implementation to be more flexible. Additionally this pr deprecates the optional parameter to be able to remove the deprecated Factory usage.

Testing Instructions

  • Log in on the back end
  • Got to the global configuration server tab
  • Send a test mail

Actual result BEFORE applying this Pull Request

Mail is sent.

Expected result AFTER applying this Pull Request

Mail is sent.

Link to documentations

Please select:

@CSGoat0
Copy link
Copy Markdown

CSGoat0 commented Apr 24, 2026

I have tested this item ✅ successfully on a59506a

I followed the instructions, everything works fine.


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

@exlemor
Copy link
Copy Markdown

exlemor commented Apr 24, 2026

I have tested this item ✅ successfully on a59506a

I have tested this successfully! Thanks @laoneo!


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

@richard67
Copy link
Copy Markdown
Member

RTC


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

@joomla-cms-bot joomla-cms-bot added the RTC This Pull Request is Ready To Commit label Apr 24, 2026
Copy link
Copy Markdown
Contributor

@MacJoom MacJoom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please check

Comment thread libraries/src/Mail/MailTemplate.php Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature PR-6.2-dev RTC This Pull Request is Ready To Commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants