mirror of
https://github.com/itflow-org/itflow
synced 2026-12-02 09:09:01 +00:00
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:
@@ -68,7 +68,7 @@ if ($invoice) {
|
||||
if ($attach_pdf && ($file = billingEmailPdf(billingPdf('invoice', $invoice)))) {
|
||||
$attach[] = $file;
|
||||
}
|
||||
$sent = billingEmailQueue($recipients, $subject, $email, ['attach' => $attach]);
|
||||
$sent = billingEmailQueue($recipients, $subject, $email, ['attach' => $attach, 'about' => 'invoice:' . intval($invoice['invoice_id'])]);
|
||||
$reminder = $kind === 'reminder' && $email['kind'] === 'Payment reminder';
|
||||
// Texted with its link too, to those of them who agreed to texts (functions/sms.php)
|
||||
$texted = smsInvoiceNotify($invoice, $reminder ? 'reminder' : 'invoice', $recipients);
|
||||
|
||||
@@ -56,7 +56,7 @@ if ($quote) {
|
||||
if ($attach_pdf && ($file = billingEmailPdf(billingPdf('quote', $quote)))) {
|
||||
$attach[] = $file;
|
||||
}
|
||||
$sent = billingEmailQueue($recipients, $subject, $email, ['from' => 'quote', 'attach' => $attach]);
|
||||
$sent = billingEmailQueue($recipients, $subject, $email, ['from' => 'quote', 'attach' => $attach, 'about' => 'quote:' . intval($quote['quote_id'])]);
|
||||
|
||||
$by = 'the API (' . html_entity_decode($api_key_name, ENT_QUOTES, 'UTF-8') . ')';
|
||||
billingLog('quote', $quote_id, $quote['quote_status'] === 'Draft' ? 'Sent' : $quote['quote_status'], "Quote emailed by $by to " . implode(', ', $sent) . ($attach ? ' with the PDF' : ''));
|
||||
|
||||
Reference in New Issue
Block a user