out-of-office message causes endless loop

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

Moderators: Developer, Contributor

Post Reply
robmaster
Posts: 8
Joined: 23 Jul 2018, 16:14

out-of-office message causes endless loop

Post by robmaster »

Hey guys,

I'm facing an issue with EmailReporting-0.10.1 and out-of-office (OOO) messages from other email inboxes.

One of our developers had set up an OOO message during his vacation. During his absence an ticket was closed he was assigned to, so he received a notification and his OOO message was sent to the Mantis mailbox. As a result of that a new note was added to the closed ticket and another notification was sent to him and you guessed it... another loop of email notification started. Kind of an endless loop :(
Is there any way to avoid this behavior instead of asking every user to switch off his or her notification during absence in a case an OOO was set up?

Many thanks for your help.
Rob
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: out-of-office message causes endless loop

Post by SL-Gundam »

By default most OOO messages only trigger once per email address. So no loop should occur

If this is different for you, you have some options

1. Change the setting mentioned above so that OOO message only triggers once per email address
2. Modify EmailReporting yourself to get the desired result that it ignored certain emails

I'm afraid there is no built-in functionality that fixes this for you at the moment
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: out-of-office message causes endless loop

Post by SL-Gundam »

Another option could be to add an exception to the OOO system whereby it does not trigger for MantisBT
Whether exceptions are possible depends entirely on your mail system
Post Reply