mirror of
https://github.com/moodle/moodle.git
synced 2025-04-09 02:12:22 +02:00
Merge branch 'MDL-67772-email-thread-headers' of https://github.com/brendanheywood/moodle
This commit is contained in:
commit
d884fbe2b1
@ -485,6 +485,11 @@ class send_user_notifications extends \core\task\adhoc_task {
|
||||
} else {
|
||||
$headers[] = "References: $parentid";
|
||||
}
|
||||
} else {
|
||||
// If the message IDs that Moodle creates are overwritten then referencing these
|
||||
// IDs here will enable then to still thread correctly with the first email.
|
||||
$headers[] = "In-Reply-To: $rootid";
|
||||
$headers[] = "References: $rootid";
|
||||
}
|
||||
|
||||
// MS Outlook / Office uses poorly documented and non standard headers, including
|
||||
|
Loading…
x
Reference in New Issue
Block a user