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:
johnnyq
2026-11-30 13:08:24 -05:00
parent b208ed0069
commit 42ea7e58a5
27 changed files with 831 additions and 162 deletions

View File

@@ -157,7 +157,7 @@ if (!empty($subject) && $client_exists) {
// Who hears about it, as when it's raised in ITFlow - the contact too, unless it's for the team only
if ($notify_team) {
if ($notify && intval($config_ticket_client_general_notifications) === 1) {
ticketMailCreated($insert_id, 'Ticket Created');
ticketMailCreated($insert_id);
ticketMailColleaguesNew($insert_id);
}
ticketMailNewTicketAddress($insert_id, 'api');