Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
email 13.01.2012 12:14
Hi I've bought and installed your product and everything is good, it does just what I wanted.
However I have a slight problem with sending email. Every time I try to send I get the message "Error sending Email, Try again later".
I'm running Joomla 1.73, PHP 5.2.17 Mysql 5.0
Any ideas?
Many thanks
However I have a slight problem with sending email. Every time I try to send I get the message "Error sending Email, Try again later".
I'm running Joomla 1.73, PHP 5.2.17 Mysql 5.0
Any ideas?
Many thanks
Re: email 13.01.2012 12:58
Hello,
to send email function we use standard joomla configuration. Please check at your system administrator if the parameters regarding email server and configuration are set. To check everything is well-configured you can try to send a test email from your joomla admin.
Hope this helps
Best regards
Moonsoft Team
Moonsoft Team
www.moonsoft.es
to send email function we use standard joomla configuration. Please check at your system administrator if the parameters regarding email server and configuration are set. To check everything is well-configured you can try to send a test email from your joomla admin.
Hope this helps
Best regards
Moonsoft Team
Moonsoft Team
www.moonsoft.es
Re: email 16.01.2012 09:35
Hello,
We can change how calcbuilder use joomla to send messages and change it by php mail. In components/com_calcbuilder/models/calcbuilder.php, in getEnvio() function, you can change:
$email=trim(JRequest::getVar('email'));
$config =& JFactory::getConfig();
$mailer =& JFactory::getMailer();
$mailer->setSubject($config->getValue( 'config.sitename' ));
$sender = array(
$config->getValue( 'config.mailfrom' ),
$config->getValue( 'config.fromname' ) );
$mailer->setSender($sender);
$mailer->addRecipient($email);
$mailer->isHTML(true);
$mailer->setBody($mail_content);
try {
$send =& $mailer->Send();
} catch (Exception $e) {
return false;
}
by
$email=trim(JRequest::getVar('email'));
$config =& JFactory::getConfig();
/*
$mailer =& JFactory::getMailer();
$mailer->setSubject($config->getValue( 'config.sitename' ));
$sender = array(
$config->getValue( 'config.mailfrom' ),
$config->getValue( 'config.fromname' ) );
$mailer->setSender($sender);
$mailer->addRecipient($email);
$mailer->isHTML(true);
$mailer->setBody($mail_content);
*/
$cabeceras = "From: ".$config->getValue( 'config.mailfrom' )."\r\nContent-type: text/html\r\n";
try {
mail($email,$config->getValue( 'config.sitename' ),$mail_content,$cabeceras);
} catch (Exception $e) {
return false;
}
/*try {
$send =& $mailer->Send();
} catch (Exception $e) {
return false;
}*/
Of course, we recommend to make a backup before.
Also, we send you by email the full php file if you want to replate it.
Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es
We can change how calcbuilder use joomla to send messages and change it by php mail. In components/com_calcbuilder/models/calcbuilder.php, in getEnvio() function, you can change:
$email=trim(JRequest::getVar('email'));
$config =& JFactory::getConfig();
$mailer =& JFactory::getMailer();
$mailer->setSubject($config->getValue( 'config.sitename' ));
$sender = array(
$config->getValue( 'config.mailfrom' ),
$config->getValue( 'config.fromname' ) );
$mailer->setSender($sender);
$mailer->addRecipient($email);
$mailer->isHTML(true);
$mailer->setBody($mail_content);
try {
$send =& $mailer->Send();
} catch (Exception $e) {
return false;
}
by
$email=trim(JRequest::getVar('email'));
$config =& JFactory::getConfig();
/*
$mailer =& JFactory::getMailer();
$mailer->setSubject($config->getValue( 'config.sitename' ));
$sender = array(
$config->getValue( 'config.mailfrom' ),
$config->getValue( 'config.fromname' ) );
$mailer->setSender($sender);
$mailer->addRecipient($email);
$mailer->isHTML(true);
$mailer->setBody($mail_content);
*/
$cabeceras = "From: ".$config->getValue( 'config.mailfrom' )."\r\nContent-type: text/html\r\n";
try {
mail($email,$config->getValue( 'config.sitename' ),$mail_content,$cabeceras);
} catch (Exception $e) {
return false;
}
/*try {
$send =& $mailer->Send();
} catch (Exception $e) {
return false;
}*/
Of course, we recommend to make a backup before.
Also, we send you by email the full php file if you want to replate it.
Regards,
Moonsoft Team
Moonsoft Team
www.moonsoft.es