Email Close Issue

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

Moderators: Developer, Contributor

Post Reply
izn0g00d
Posts: 3
Joined: 01 Apr 2017, 19:56

Email Close Issue

Post by izn0g00d »

Hello everyone,

I need to achieve the following:

1. When I receive an email where within the subject there is the word 'close'....then the corresponding issue is automatically close in mantis and an email is sent as notification.

the email subject can be something like problem_id Status


Regards,

Izn0g00d
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Email Close Issue

Post by SL-Gundam »

Currently you've got 2 option2 to achieve this:
  1. Create a plugin of your own that hooks into EmailReporting events
  2. Modify EmailReporting as required
I'm afraid this is not possible out-of-the-box.
Somewhere in the future though, this should be possible
izn0g00d
Posts: 3
Joined: 01 Apr 2017, 19:56

Re: Email Close Issue

Post by izn0g00d »

Hello,

based on https://github.com/mantisbt-plugins/EmailReporting

I will opt for the second option.

However, can you please provide some insight on how to acheive this....Since am not a developer, I will need to get my hand on a developer.

Regards,

Izn0g00d
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Email Close Issue

Post by SL-Gundam »

Within this function : Line 845
Line Line 884 until Line 920 will need to be modified

Between those lines the decision is made what to do with a email that is processed as a note
Post Reply