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

Hi,

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,

...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!
...
Support/development 10 hours

Get a bigger amount of hours for more complex tasks and get a 10% discount

Buy now!