Mail review stage 5: a website form's email is answered at the visitor in its Reply-To, who becomes the ticket's CC under the client whose domain the site is on or none, and Reply-To at the sender's own domain is taken as the sender; someone who isn't a contact is answered without their subject or the ticket's link, and a forged ticket or one with no contact no longer emails the client's colleagues; a client's reply on a ticket nobody is assigned goes to the new-ticket address or the admins, and bounce and closed-ticket notices go to the assigned agent or the admins instead of every agent; an email with no From is from nobody rather than itflow-guest@example.com; a forged email no longer clears Email bounced; an address that is a contact at two clients goes to the one whose domain it is or where they last raised a ticket, with a note; an agent's emailed reply that went to the client is their public reply and the first response; 26.12.3 changelog

This commit is contained in:
johnnyq
2026-11-30 18:22:59 -05:00
parent 039c1b11da
commit e57faeeb3a
9 changed files with 422 additions and 126 deletions

View File

@@ -66,7 +66,7 @@ echo settingsPageStart('ticket');
<?= settingsSectionStart('new', 'New tickets', 'Who hears about a ticket as it is raised - in the portal, by email or on a schedule - and whether AI sorts it.') ?>
<?= settingsInput('config_ticket_new_ticket_notification_email', $config_ticket_new_ticket_notification_email, ['icon' => 'fa-bell', 'type' => 'email', 'maxlength' => 200,
'placeholder' => 'techs@company.com', 'help' => 'A team mailbox or list works best - not the one ITFlow reads tickets from, as each notice would come back as an email. Empty, nobody is emailed.']) ?>
'placeholder' => 'techs@company.com', 'help' => 'Each new ticket, and a client\'s reply on a ticket nobody is assigned. A team mailbox or list works best - not the one ITFlow reads tickets from, as each notice would come back as an email. Empty, nobody is emailed, and the admins get those replies in the bell.']) ?>
<?php if (aiTriageReady()) { ?>
<?php if (!getAiModel('Tickets')) { ?>
<div class="alert alert-warning py-2 small" data-ticket-ai-no-model><i class="fas fa-exclamation-triangle me-2"></i>AI triage needs an AI model for Tickets, or one for everything - <a href="ai_providers.php">AI Providers</a>.</div>