-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.4, 4.5
-
MOODLE_404_STABLE, MOODLE_405_STABLE
-
MDL-83230-main
-
-
-
1
-
Team Alpha - Planning I1-2025
That emails sent from the Moodle forum follow a standard format:
- The email with the initial question is received and remains isolated in the inbox.
- Moodle adds "RE:" to the replies and also places the course name before it, which causes email clients to organize the replies as separate messages from the original question, leading to duplication.
To resolve this and keep the emails organized within a single thread, I would recommend placing the course name at the end of the subject line. This helps group the messages more efficiently and makes it easier for users to follow discussions within a single email thread.
By changing the "postmailsubject":
From: "{$a->courseshortname}: {$a->subject}"
To: "{$a->subject} - {$a->courseshortname}"
Alternatively, moving the "RE:" to the beginning of the string might also work, although it could be more complex to implement.