Forum


Calc Builder Support

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

send result to email 26.01.2015 16:39

hi, and thanks for previous answers.

I have one last question.

when I send my results to my email with "Send form results to" in preferences, send only results in "exit layoyt" but I have the results that come out even with the command "echo" in "php code".
how can I send via email even this result?

thanks

Re: send result to email 27.01.2015 09:26

Hi,
in fact, you're not supposed to use 'echo' instructions at php code, they will work only for the page, but not for email or export sections. You should assign instead a variable that you can print at your output:

Instead of

echo "Your message";


$yourmessage="Your message";


So ##yourmessage## can be printed at your output and will show also at email contents.

You can keep echo lines for the page, and add the new variables only for email, just add ##yourmessage## to 'print preferences' header or footer areas to add this output.

Hope this helps, regards
Moonsoft Team
www.moonsoft.es
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