A client called today lamenting that our automated mail (they fill a form and we mail them a code) is not working.
Of course, this is because my code still has the JFactory class and is looking for...
...which is no more since Joomla 3.8
I have seen this answer to a similar problem, but
getMailer is not named in the linked Github file.
What should I use instead of the following lines?
require ('libraries/joomla/factory.php'); #I suppose nothing $mail = JFactory::getMailer(); #I have no idea
Of course I'm instantiating the
So if that won't work anymore I'd appreciate some guidance.