Hi Everyone,First of all i'm running osTicket 1.10.1-0121 on lates Synology 6.1.5 15254 with it's Maria DB 10.0.32-0010I know that the variable %{message.files} is availiable and working with the "New Ticket Notice" to send the attachments via mail.But I also need to add these files when giving this ticket to an agent and the Mail "Ticket Assignment Alert" and found the variable  %{ticket.thread.original.files}.Unfortunatly this one is not working.Any ideas

I notice that you dont mention what version of PHP your running. Are you seeing any PHP errors?  Is the variable just not populating at all?Did you use type-ahead to enter that variable - or did you find it and just type it in yourself expecting it to work?I dont think that either are intended to work on the assignment alert, since the assignment alert is a little short message basically saying "hey you have a ticket, go look".

I'm running PHP 5.6I took this variable out of the code completion that comes with editing the templates (see attachment).But the mail I got hat no attachments.I already mentioned that the variable %{message.files} is availiable and working with

the "New Ticket Notice" to send the attachments via mail, right? So no problems with sending mails with attachments here.Is it a bug?

2018-02-14_162127.jpg

7 days later

You did not answer these questions:Are you seeing any PHP errors?  Is the variable just not populating at all?The variable that you are using my not be available to that email template.  Not all variables work in all templates. I don't think that either are intended to work on the assignment alert, since the assignment alert is a little short message basically saying "hey you have a ticket, go look".

Yes I can see the PHP errors, and no there are no errors while sending this mail.The variable shows nothing.I thought that I can use the variable because it's suggested by the code completion.Is there a documentation which variable is availiable in which mail?

So your not getting the variable (specifically the string: %{ticket.thread.original.files}) in the email?Your just getting a blank space?Q: Is there a documentation which variable is availiable in which mail?A: I always presumed that the type ahead shouldn't let you pick variables that aren't in that template, so no.

Write a Reply...