mirror of
https://github.com/itflow-org/itflow
synced 2026-12-02 00:59:03 +00:00
Mail review stage 7c: emailed and texted replies wait a few seconds on the ticket page with Undo and Send now before they are posted, set in Admin > Settings > Tickets (database 4.3.3); ticket emails sent from another address than the mailbox ITFlow reads ask for replies at that mailbox with Reply-To, which can be turned off there; 26.12.3 changelog
This commit is contained in:
@@ -47,6 +47,21 @@ echo settingsPageStart('ticket');
|
||||
<?= settingsSectionStart('emails', 'Emails about a ticket', 'Each has the subject <code>[' . escapeHtml($config_ticket_prefix) . '123] Subject</code>, the same from the first to the last, and carries the headers a mail program keeps a conversation together by - so they stay together in the client\'s inbox, and a reply finds its ticket even when its subject was changed.') ?>
|
||||
<?= settingsSwitch('config_ticket_email_copy', $ticket_mail['copy'] ? 1 : 0, ['help' => 'An email about a ticket goes to its contact with the CCs, and the colleagues who asked for every update, copied in - everyone sees who else has it, and a reply to all reaches them. Off, each gets an email of their own.']) ?>
|
||||
<?= settingsSwitch('config_ticket_email_relay', $ticket_mail['relay'] ? 1 : 0, ['help' => 'When the client replies - by email, text or in the portal - the people an agent\'s reply would go to get it too, with its files, unless it was already to them. By email, only a reply to one of the ticket\'s emails: anyone can put a ticket number in a subject.']) ?>
|
||||
<?php if (ticketReplySendReady()) {
|
||||
$reply_send = ticketReplySendSettings();
|
||||
$ticket_from = strtolower(trim((string) emailFrom('ticket')['email']));
|
||||
if (!$reply_send['parse'] || $reply_send['reads'] === '') {
|
||||
$reply_to_help = 'Nothing to do now - email to ticket isn\'t reading a mailbox.';
|
||||
} elseif ($reply_send['reads'] === $ticket_from) {
|
||||
$reply_to_help = 'Nothing to do now - ticket emails are from <strong>' . escapeHtml($ticket_from) . '</strong>, the mailbox ITFlow reads.';
|
||||
} else {
|
||||
$reply_to_help = 'Ticket emails are from <strong>' . escapeHtml($ticket_from ?: 'the system mailbox') . '</strong>. On, they ask for replies at <strong>' . escapeHtml($reply_send['reads'])
|
||||
. '</strong>, the mailbox ITFlow reads (Reply-To), so a reply isn\'t lost on an address nobody reads. Turn it off if ' . escapeHtml($ticket_from ?: 'that address') . ' already comes to that mailbox and you\'d rather clients only saw it.';
|
||||
} ?>
|
||||
<?= settingsSelect('config_ticket_reply_undo_seconds', ticketReplyUndoSeconds(), TICKET_REPLY_UNDO_CHOICES, ['icon' => 'fa-undo-alt',
|
||||
'help' => 'An emailed or texted reply waits this long on the ticket page, with Undo, before it goes - Undo leaves it in the reply box to change. Nothing about it happens until then.']) ?>
|
||||
<?= settingsSwitch('config_ticket_reply_to_read', $reply_send['reply_to_read'] ? 1 : 0, ['help' => $reply_to_help]) ?>
|
||||
<?php } ?>
|
||||
<?= settingsSectionEnd() ?>
|
||||
<?php } ?>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user