/** * Send an email using the isotope e-mail templates * @param integer * @param string * @param string * @param array * @param string * @param object */ public function sendMail($intId, $strRecipient, $strLanguage, $arrData, $strReplyTo = '', $objCollection = null) { try { $objEmail = new IsotopeEmail($intId, $strLanguage, $objCollection); if ($strReplyTo != '') { $objEmail->replyTo($strReplyTo); } $objEmail->send($strRecipient, $arrData); } catch (Exception $e) { $this->log('Isotope email error: ' . $e->getMessage(), __METHOD__, TL_ERROR); } }