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

@@ -294,15 +294,17 @@ function billingEmailExtraField($id) {
* Queue a billing email to each recipient, greeting each by name - nobody
* without one - through emailQueue(), whether or not mail is set up yet, as
* the Send windows always have. $opts: from ('invoice' or 'quote' -
* whose address it comes from) and attach (a list of billingEmailPdf()
* files). Who it was queued to, "Name (email)".
* whose address it comes from), attach (a list of billingEmailPdf()
* files) and about (invoice:12 or quote:7, so a bounce goes in its history -
* mailQueueBounced()). Who it was queued to, "Name (email)".
*/
function billingEmailQueue(array $recipients, $subject, array $email, array $opts = []) {
$recipients = array_map(function ($recipient) {
$greet = array_key_exists('greet', $recipient) ? $recipient['greet'] : ($recipient['name'] ?? '');
return ['greet' => trim((string) $greet) !== '' ? (string) $greet : null] + $recipient;
}, $recipients);
return emailQueue($recipients, $subject, $email, ['from' => billingEmailFrom($opts['from'] ?? 'invoice'), 'attachments' => (array) ($opts['attach'] ?? []), 'always' => true]);
return emailQueue($recipients, $subject, $email, ['from' => billingEmailFrom($opts['from'] ?? 'invoice'), 'attachments' => (array) ($opts['attach'] ?? []), 'always' => true,
'about' => (string) ($opts['about'] ?? '')]);
}
/**