CalcBuilder Forum

Incomplete email headers - Bug?

User moon_1306 2016-01-11 04:07:39

I was experiencing a problem where some of the email headers values from email generated from Calc Builder were missing, and thus defaulted to my server's default settings. This was causing emails to go into the spam folder in Gmail.

In reviewing the code, I believe lines 740 and 741 of /components/com_calcbuilder/models/calcbuilder.php are wrong:

$config->get( 'config.mailfrom' ),
$config->get( 'config.fromname' ) );

changing them to

$config->get( 'mailfrom' ),
$config->get( 'fromname' ) );

solved my problem. I am a php/Joomla API novice, so don't take my word for it.

Moonsoft support 2016-01-11 10:48:30


You're right. The way we get Joomla configuration parameters change between joomla versions, so we added code for backward compatibility, and, in this case, this is how to get parameters in Joomla 3+

We added to next release. Thanks. Regards,

List Manager

Build different lists for your site

Buy now!

Perfect for small code changes or to correct any bug at your site

Buy now!