Page 1 of 1

Add a new special tag?

Posted: Tue Nov 20, 2012 5:28 pm
by steraffi
Script URL: 93.64.59.105:8080/supporto
Version of script: the last
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: special tags

Write your message below:
Hi; i would need to insert the email address of customer into the "ticket_assigned_to_you" notify mail
is it possible to add a special tag %%EMAIL%% to the script? Could you tell me where i coud operate to obtain this result?
Thank you for your answer
Stefano

Re: Add a new special tag?

Posted: Tue Nov 20, 2012 6:14 pm
by Klemen
The code is inside inc/email_functions.inc.php

Find for example %%STATUS%% inside and try adding additional lines with your special tags. You will need to do it twice in the file.

Re: [SOLVED]Add a new special tag?

Posted: Tue Nov 20, 2012 9:24 pm
by steraffi
Klemen; however your help has been very precious and decisive!
I solved my issue in two minutes and that open me a set of new chances to better manage my TT system

I past below the new line created for "special Tag" %%EMAIL%%, in case anyone coud have the same demand

$msg = str_replace('%%EMAIL%%', stripslashes($ticket['email']) ,$msg);

Best regards
Stefano