Skip to content
Snippets Groups Projects
Commit 8849c197 authored by JediKev's avatar JediKev
Browse files

issue: In-Reply-To Header

This addresses an issue raised in 5111 where the `in-reply-to` header is not
sent with outgoing emails. This is due to the `$recipients` variable being
an instance of `MailingList` which is not handled correctly in
`class.mailer.php`. This adds a new case to handle `MailingList` directly.
parent 77a2eda2
No related branches found
No related tags found
No related merge requests found
......@@ -330,6 +330,9 @@ class Mailer {
$entry = null;
switch (true) {
case $recipients instanceof MailingList:
$entry = $thread->getLastEmailMessage();
break;
case $recipients instanceof TicketOwner:
case $recipients instanceof Collaborator:
$entry = $thread->getLastEmailMessage(array(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment