Forum


Calc Builder Support

Calc Builder support
Forums
Public write access is disabled. Please login

Send admin email on Calculate 22.12.2011 18:40

Is there a way to have Calc send an email with results when the user clicks the calculate button?
Thanx.

Re: Send admin email on Calculate 22.12.2011 19:53

Hello,

Yes, you can write custom code in backend in order to send email. Write it at 'code' in your calculator. All valid php code at this section is executed when pressing button. Component is in joomla, so you can use Joomla classes to send the email or use php classes directly (Google it, there´s a lot of explaining pages).
Here you have two links, one for joomla and one for PHP:

http://docs.joomla.org/How_to_send_email_from_components

http://email.about.com/od/emailprogrammingtips/qt/How_to_Send_Email_from_a_PHP_Script.htm

Hope this helps,

Moonsoft Team
Moonsoft Team
www.moonsoft.es

Re: Send admin email on Calculate 23.12.2011 13:40

Thanks, I will look at the examples.
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect

Our clients' feedback