mirror of
https://github.com/itflow-org/itflow
synced 2026-12-04 10:09:01 +00:00
Keep a ticket's emails in one conversation: every client email about a ticket has the subject [TCK-123] and its subject and carries Message-ID, In-Reply-To and References, kept per ticket in ticket_mail_threads, and the email parser finds a reply's ticket by those headers first, then by the number in brackets with the prefix that ticket was given; one email goes to the contact with the watchers and colleagues copied in, switchable in Admin, Settings, Tickets; a client's reply by email, text or portal is passed on to the people following the ticket who weren't on it, by email only when it answers one of the ticket's emails; others in To and Cc on a client's or watcher's email become watchers, never your own domain or agents; the same email twice makes one ticket and a merged ticket's replies go to the ticket it went into; database 4.2.6; 26.12.3 changelog entries
This commit is contained in:
@@ -1012,6 +1012,10 @@ function smsTicketReply(int $message_id, array $conversation, string $from, stri
|
||||
notification_action = '" . escapeSql('/agent/' . ticketUrl($ticket_id, $client_id)) . "', notification_client_id = $client_id, notification_user_id = $assigned");
|
||||
}
|
||||
ticketMailAssigneeReplied($ticket_id, 'text', $html, $who);
|
||||
// On to the people following the ticket by email - from one of the client's contacts (functions/ticket_mail_thread.php)
|
||||
if ($contact_id) {
|
||||
ticketMailRelayClientReply($ticket_id, $reply_id, $who, (string) getFieldById('contacts', $contact_id, 'contact_email'));
|
||||
}
|
||||
triggerCustomAction('ticket_reply_client', $ticket_id);
|
||||
return $reply_id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user