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:
johnnyq
2026-11-30 21:36:09 -05:00
parent 8f68de0f65
commit 20b2d1883e
13 changed files with 264 additions and 5 deletions

View File

@@ -361,6 +361,11 @@ function sendQueueEmail(array $mailer, string $from_email, string $from_name, st
foreach ($headers as $name => $value) {
if ($name === 'Message-ID') {
$mail->MessageID = $value;
} elseif ($name === 'Reply-To') {
// PHPMailer's own, so there is one Reply-To - and Graph's large-email draft carries it too (mailGraphSendLarge())
if (filter_var($value, FILTER_VALIDATE_EMAIL)) {
$mail->addReplyTo($value);
}
} else {
$mail->addCustomHeader($name, $value);
}