Forum


Calc Builder Support

Calc Builder support
Forums
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

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

Re: email 14.01.2012 05:22

Thanks for your reply,
I have no problem sending in Joomla with either PHP or SMTP. It seems the only problem is with Calc Builder. Any other ideas?
Many Thanks

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

Re: email 19.01.2012 16:02

Hi
That did the job
Everything working OK now.
Thanks very much for your support.
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Lo que nuestros clientes opinan de nosotros