Error in mail function
Posted: 05 Sep 2014, 14:14
Hello,
in version 2.5.24 of Joomla! does not work the icon "mail" in Phoca Restaurant Menu. Returns the error "Email could not be sent", which is set by the component "com_mailto" in php "controller". In "controller.php" is set in 3 points. In my case this is:
$link = MailtoHelper::validateHash(JRequest::getCMD('link', '', 'post'));
// Verify that this is a local link
if (!$link || !JURI::isInternal($link)) {
//Non-local url...
JError::raiseNotice(500, JText:: _ ('COM_MAILTO_EMAIL_NOT_SENT'));
return $this->mailto();
}
"$link" is empty, while in the other pages it contains the url of the page.
You can check whether you work?
Thank you
Max
in version 2.5.24 of Joomla! does not work the icon "mail" in Phoca Restaurant Menu. Returns the error "Email could not be sent", which is set by the component "com_mailto" in php "controller". In "controller.php" is set in 3 points. In my case this is:
$link = MailtoHelper::validateHash(JRequest::getCMD('link', '', 'post'));
// Verify that this is a local link
if (!$link || !JURI::isInternal($link)) {
//Non-local url...
JError::raiseNotice(500, JText:: _ ('COM_MAILTO_EMAIL_NOT_SENT'));
return $this->mailto();
}
"$link" is empty, while in the other pages it contains the url of the page.
You can check whether you work?
Thank you
Max