Skip to main content
CalcBuilder logo
CalcBuilder Forum

Send admin email on Calculate

User ritchg

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

Moonsoft support

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

User ritchg

Thanks, I will look at the examples.

...
List Manager

Build different lists for your site

Buy now!
...
Support/development

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

Buy now!