Include email to: header in note

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

Moderators: Developer, Contributor

Post Reply
grante
Posts: 18
Joined: 10 Apr 2015, 14:47

Include email to: header in note

Post by grante »

We use emailreporting exclusively for automatically creating notes
when exchanging e-mails regarding an issue (we cc: mantis). This
saves on a _lot_ of time we used to spend cutting/pasting email
messages into our old bug-tracking system.

I've found the options to include the email from: value and the
subject: value in the note, but I can't figure out how to get the to:
header included in the note.

You can usually figure out who the e-mail was sent to from the
context, but it would be really nice if mantis could include that in
the note. Is there a way to do that?
SL-Gundam
Posts: 722
Joined: 06 Jul 2011, 14:17

Re: Include email to: header in note

Post by SL-Gundam »

Currently that functionality is not present. EmailReporting was designed with the idea that notes would be added by responding to emails that were sent by MantisBT. Which means that the "to" field would not be important as it would be the email address of the EmailReporting mailbox

That leaves 2 options
  1. Create an issue in the MantisBT bug tracker (https://www.mantisbt.org/bugs/) for the project "Plugin - EmailReporting" and request this feature
  2. Modify the EmailReporting code yourself as needed. You could send the changes back to us so that we might include them within the base EmailReporting code but thats up to you
grante
Posts: 18
Joined: 10 Apr 2015, 14:47

Re: Include email to: header in note

Post by grante »

SL-Gundam wrote: [...]

That leaves 2 options

Create an issue in the MantisBT bug tracker (https://www.mantisbt.org/bugs/) for the project "Plugin - EmailReporting" and request this feature
OK, did that: https://www.mantisbt.org/bugs/view.php?id=19617
SL-Gundam wrote: Modify the EmailReporting code yourself as needed. You could send the changes back to us so that we might include them within the base EmailReporting code but thats up to you
OK, I'll give that a shot. It will porbably take some time, since I'll need to set up a development installation and an associated email account somewhere.
Post Reply