I am getting the following error message on my Joomla 3 site:
Fatal error: Call to undefined method UsersController::setSubject()
JMail::sendMail before I used
JUtility::sendMail in version 1.5.
Any help is appreciated.
Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It only takes a minute to sign up.Sign up to join this community
setSubject() is a function that belongs to the
JMail class, not
So assuming you want to set the subject for your email, you can use the following:
For more information on Joomla's mail feature, have a read of the following:
Hope this helps