Hi there,
I'm having some problems with the gift card certificate because when I confirm the order the email is not sent. There is an error message saying that email function can not be initialized.
Seems that the problem is in this pice of code
function &Send()
{
if ( ( $this->Mailer == 'mail' ) && ! function_exists('mail') )
{
return JError::raiseNotice( 500, JText::_('MAIL_FUNCTION_DISABLED') );
}
@ $result = parent::Send();
if ($result == false)
{
// TODO: Set an appropriate error number
$result =& JError::raiseNotice( 500, JText::_($this->ErrorInfo) );
}
return $result;
Regards
I'm having some problems with the gift card certificate because when I confirm the order the email is not sent. There is an error message saying that email function can not be initialized.
Seems that the problem is in this pice of code
function &Send()
{
if ( ( $this->Mailer == 'mail' ) && ! function_exists('mail') )
{
return JError::raiseNotice( 500, JText::_('MAIL_FUNCTION_DISABLED') );
}
@ $result = parent::Send();
if ($result == false)
{
// TODO: Set an appropriate error number
$result =& JError::raiseNotice( 500, JText::_($this->ErrorInfo) );
}
return $result;
Regards