CalcBuilder Forum

Specify the reply or sent from email address?

User moon_1620 2015-01-05 17:00:59

I would like to specify the reply or sent from email address for when a visitor uses the option to email the calculator results. Right now it is showing that i am sending the calculator results using my personal email address. How do I change this.

Thank you of your time and knowledge.

George

Moonsoft support 2015-01-07 09:20:36

Hi,
when an email is sent, the component copies the 'from' information from your Joomla configuration, surely you have your personal email set at the control panel. In case you need to keep the joomla configuration and change only calcbuilder sender, you must to edit the code where the email is sent, you can find it at:

joomla\components\com_calcbuilder\models\calcbuilder.php

search getEnvioWrapper function and BEFORE this line:


$mailer->setSender($sender);



you can change the sender info:

$sender=array("fromemail@mail.com","yourname");


Hope this helps, regards

...
Support/development 40 hours

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

Buy now!
...
Support/development

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

Buy now!