No Code Attached Yet
avatar fietserwin
fietserwin
20 Oct 2025

Should be \Joomla\CMS\Mail\Mail::send() (as it is in both the interface \Joomla\CMS\Mail\MailerInterface::send() implemented by that class and by its parent class \PHPMailer\PHPMailer\PHPMailer::send()).

avatar fietserwin fietserwin - open - 20 Oct 2025
avatar joomla-cms-bot joomla-cms-bot - change - 20 Oct 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 20 Oct 2025
avatar fietserwin
fietserwin - comment - 20 Oct 2025

isHTML() versus isHtml() have also incorrect case, though it might depend on coding and naming standards what you want to use. However, this method is not in the interface and you are extending an project external class, so IMO you should follow the naming of that external class.

avatar brianteeman
brianteeman - comment - 1 Aug 2026

As you dont say which files this refers to or even what version of Joomla its very hard for anyone to do anything about this. Do you really expect someone to search every single file in every version of Joomla?

avatar fietserwin
fietserwin - comment - 2 Aug 2026

Eeeh, well, logically, method \Joomla\CMS\Mail\Mail::Send() can be found in file libraries/CMS/Mail/Mail.php.

So, I was not talking about usages but about the method itself, However, I guess that most usages follow the interface and thus will use send(), but any IDE that does some static analysis including type inference can show you all usages on the click of a button.

As for version, it's in all versions since this class was introduced, and I leave it up to you to fix it in older but still maintained versions or not, that's project policy which I do not know about.

Add a Comment

Login with GitHub to post a comment