Keeping track of sent emails
Posted: 12 Dec 2016, 10:21
In my current setup I have bug-id excluded from emails subjects with custom-subject plugin long ago, so to start testing this plugin I had to make some changes.
I tried to search for bug-id in preprocessed reply body (simply parsing the found link to the bug),
but both ways I consider unreliable as a reporter might exclude bug-id from message body or subject even by accident.
I suggest to keep track of each sent notification (get bug-id -- message-id pair from mantis).
To implement this I had to patch mantis core adding a simple signal. You may check out the patch here https://github.com/badfiles/mantisbt/co ... e55a9c55d1
It's pretty easy to guess what changes I made to the plugin to process the signal. Above that I search for bug-id in the database in the first place.
Let me know if this is a useful feature, so we might try to implement it in future release version.
I tried to search for bug-id in preprocessed reply body (simply parsing the found link to the bug),
but both ways I consider unreliable as a reporter might exclude bug-id from message body or subject even by accident.
I suggest to keep track of each sent notification (get bug-id -- message-id pair from mantis).
To implement this I had to patch mantis core adding a simple signal. You may check out the patch here https://github.com/badfiles/mantisbt/co ... e55a9c55d1
It's pretty easy to guess what changes I made to the plugin to process the signal. Above that I search for bug-id in the database in the first place.
Let me know if this is a useful feature, so we might try to implement it in future release version.