Page 1 of 1

repeated notes in issues

Posted: 06 Dec 2018, 10:26
by merwyn
Hi,
I have implemented emailreporting but everytime the script runs, the email contents are added as notes in the issue.
If the script runs twice, the same content come as 2 notes.

Re: repeated notes in issues

Posted: 06 Dec 2018, 10:37
by merwyn
Ok. so this is happening only with outlook but not with gmail

Re: repeated notes in issues

Posted: 06 Dec 2018, 20:42
by SL-Gundam
EmailReporting has 2 systems which it uses to identify notes

The first one is the subject line
http://www.mantisbt.org/wiki/doku.php/m ... t_id_regex
This one tries to find an existing issue id in the subject line. Usefull if people reply to MantisBT notification emails

The second one is the message id
http://www.mantisbt.org/wiki/doku.php/m ... message_id
Every email has a unique id. A reply to an email contains the id of the email you are replying to

If either one of these is enabled then EmailReporting will use it to identify an email as a note and process it as such

Re: repeated notes in issues

Posted: 07 Dec 2018, 05:55
by merwyn
If i disable the second one, then all the emails are being treated as new issues and new issues are being created. What do i do?

Re: repeated notes in issues

Posted: 07 Dec 2018, 06:24
by merwyn
If the second one is enabled, it again reads all the mails and attaches them correspondingly in notes to the issues created at first

Re: repeated notes in issues

Posted: 07 Dec 2018, 17:34
by SL-Gundam
It must be something wrong with your mail server, mail client. I suggest disabling it