After upgrading the Joomla to 3.6 successfully, sending mail functionality is not working. Its working fine till before the update. I couldn't find any solutions yet. This happens earlier after updating to some other Joomla version, so I changed the code from JMail::getInstance to the below code. Again after updating to 3.6 its not working.
Here is the code to send the mails:
Code: Select all
$mail = new JMail(false);
$mail->sendMail($row->email, $customername, JText::_('WRI_INFO_EMAIL'), $subject, $admin_email_msg, 1, NULL, NULL, $dest);