mirror of
https://github.com/moodle/moodle.git
synced 2025-08-10 19:36:41 +02:00
MDL-67772 mod_forum: Fix email threading for first message
This commit is contained in:
parent
f30110b5eb
commit
cc0d2d4630
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue