Mail review stage 8: Admin > Ignored Senders lists addresses and domains whose email the ticket mailbox sets aside with no ticket, reply, answer or Unprocessed Email entry, a domain taking its subdomains, each counting what it set aside and saving one that takes a contact's or client's email saying so; Ignore Sender in Unprocessed Email ignores the address or its domain and dismisses the others waiting, leaving contacts, client domains and public domains to an admin; Try an Email has the step; every queued email gets its own Message-ID and invoice and quote emails say what they are about, so a bounce marks the email it came back about as Bounced with the mail server's reason in a new Mail Queue tab, on the ticket reply for those it names and in the invoice or quote history, matched by address and subject when the report has no Message-ID; .gitignore leaves out uploads/mail_unprocessed and uploads/kb (database 4.3.5); 26.12.3 changelog

This commit is contained in:
johnnyq
2026-12-01 00:06:27 -05:00
parent 812c4ae9c2
commit d2d9732efb
31 changed files with 878 additions and 26 deletions

View File

@@ -9,6 +9,7 @@
* 0. ITFlow's own email come back (emailOwnAddresses()) is skipped;
* - a mail server's bounce (ticketMailIsBounce() - here, by its address alone) is read as one,
* whatever the settings - never a ticket;
* - an ignored sender (mailIgnoreFind(), functions/mail_ignore.php) is set aside;
* 1. an automatic reply (out of office) is a note on the ticket it answers, or set aside;
* - an email answering one of a ticket's emails, by its In-Reply-To or
* References - a reply on that ticket, whatever its subject. An email
@@ -66,6 +67,17 @@ function ticketMailTry($from_email, $subject, $auto_reply = false) {
}
$steps[] = ['A mail server saying an email couldn\'t be delivered?', 'No'];
// An ignored sender (Admin > Ignored Senders, functions/mail_ignore.php)
if (mailIgnoreReady()) {
$ignored = mailIgnoreFind($from_email);
if ($ignored) {
$steps[] = ['An ignored sender?', 'Yes - ' . $ignored['ignored_sender_match']];
return $end('fa-eye-slash', 'secondary', 'Set aside - an ignored sender',
'No ticket, no reply on one and no answer - it is moved to the ITFlow folder. Admin > Ignored Senders has the rule.');
}
$steps[] = ['An ignored sender?', 'No'];
}
if ($auto_reply) {
$steps[] = ['An automatic reply?', 'Yes'];
$answered = ticketMailSubjectTicket($subject);