repeated notes in issues

This plugin allows you to report an issue in MantisBT by sending an email to a particular mail account

Moderators: Contributor, Developer

Post Reply
merwyn
Posts: 12
Joined: Nov 16, 2018 7:54 am

repeated notes in issues

Post by merwyn » Dec 06, 2018 5:26 am

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.

merwyn
Posts: 12
Joined: Nov 16, 2018 7:54 am

Re: repeated notes in issues

Post by merwyn » Dec 06, 2018 5:37 am

Ok. so this is happening only with outlook but not with gmail

SL-Gundam
Posts: 542
Joined: Jul 06, 2011 9:17 am

Re: repeated notes in issues

Post by SL-Gundam » Dec 06, 2018 3:42 pm

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

merwyn
Posts: 12
Joined: Nov 16, 2018 7:54 am

Re: repeated notes in issues

Post by merwyn » Dec 07, 2018 12:55 am

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?

merwyn
Posts: 12
Joined: Nov 16, 2018 7:54 am

Re: repeated notes in issues

Post by merwyn » Dec 07, 2018 1:24 am

If the second one is enabled, it again reads all the mails and attaches them correspondingly in notes to the issues created at first

SL-Gundam
Posts: 542
Joined: Jul 06, 2011 9:17 am

Re: repeated notes in issues

Post by SL-Gundam » Dec 07, 2018 12:34 pm

It must be something wrong with your mail server, mail client. I suggest disabling it

Post Reply