Moonsoft Software Solutions

Calc Builder Support

Calc Builder support
Public write access is disabled. Please login
Last post
ritchg

ritchg
6 posts
---
22.12.2011 18:40

Send admin email on Calculate

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




 
MSTeam

MSTeam
227 posts
---
22.12.2011 19:53
Re: Send admin email on Calculate
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

 
ritchg

ritchg
6 posts
---
23.12.2011 13:40
Re: Send admin email on Calculate
Thanks, I will look at the examples.