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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user