I have tried to use the "Re: whatever here" form, but it doesn't work as expected.
I have realised that there is another important thing to use in the notification emails, in order to email clients can recognize "groups of notifications" or "notifications related", for instance, a forum thread... For that, we should use the "References" header, which should add the value from the Message-Id header of the "parent" or previous thread message.
I've been looking and thinking about how to change the acs-mail-lite package and acs-notifications in order to do that, but need some help, to do things right.
What I think it should be done is...
- Forum package should call to acs_mail_lite::generate_message_id to get a valid ID, and store it in the forum messages table (a new column).
- Then call to forum::message::do_notifications passing the Message-Id (notice that it's the ID for the Message_id header), and any parent Message-Id inside the "References" header.
So, notification::new AND acs_mail_lite::send should have two new optional parameters for the Message-Id, and References headers.