Quantcast
Channel: Joomla! Forum - community, help and support
Viewing all articles
Browse latest Browse all 2616

Joomla! 4.x Coding • Re: How to override the MailerFactory?

$
0
0
Hi SharkyKZ,

I tried that actually but the MailerFactory is a protected property and cannot be overridded in the same way.

I also tried to use the old way of overriding by reading in the Mail class, changing the classname to MailDefault, evaling it, then evaling my own Mail class that extends for MailDefault, unfortunately the Mail class has already been loaded by the time my onAfterInitialize plugin is triggered, even though it has the highest priority.

Any other ideas?

Statistics: Posted by skurvish — Mon Jan 08, 2024 11:41 am



Viewing all articles
Browse latest Browse all 2616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>