I am developing a site with osTicket v1.9.8 ticket system, which works fine, but I would like to know how to accomplish Thread Mail Structure while Agent or admin post a reply back to customer.
i.e When osticket admin post a reply back to customer, the mail should contain the following:
These are the steps that I have done so far:
How do I bring entire conversation in Textarea box or in reply mail.
btw,I tried to post question in their forum page. But couldn't find how to post a new one.
Thanks in advance.
It looks like the easiest way would be to change the way that "original message" works. To do that, edit the file at /include/class.thread.php and around line 2513, change this line:
$entry = $this->entries->filter(array(
'type' => MessageThreadEntry::ENTRY_TYPE,
'flags__hasbit' => ThreadEntry::FLAG_ORIGINAL_MESSAGE,
))
->order_by('id')
->first();
To be this:
$entry = $this->entries->filter(array(
'type' => MessageThreadEntry::ENTRY_TYPE,
'flags__hasbit' => ThreadEntry::FLAG_ORIGINAL_MESSAGE,
))
->order_by('id');
//->first(); //commenting this line;