View Issue Details

IDProjectCategoryView StatusLast Update
0001569mantisbtemailpublic2004-09-12 08:26
Reporterjeroen Assigned Tovboctor  
PrioritynormalSeveritytweakReproducibilityalways
Status closedResolutionduplicate 
Summary0001569: [PATCH] Feature: add mantis-headers to sent mails
Description

For the sake of filtering it'd be nice if there were mantis headers, like:

Make sure there is a distinction between two sites with mantis installed:

X-Mantis-Site: <a href="http://mantisbt.sourceforge.net/mantis">http://mantisbt.sourceforge.net/mantis</a>

Indicate the project

X-Mantis-Project: My Project

And the bug number:

X-Mantis-Bugid: 1234

Additional Information

Tried to make a patch, succeeded, but I first had to redo that win-bcc hack into something a bit more normal.

The issue is that the assumption was made that $p_header only contains Bcc: headers, which is currently true, but it makes it very hard to add extra headers.

Patches available here:
<a href="http://jeroen.a-eskwadraat.nl/mantis/">http://jeroen.a-eskwadraat.nl/mantis/</a>

You need to apply the patches against 0.17.0, and in order.

"Last-minute" additions (I really need to get back to my actual project... :( :

  • The comment above build_bcc_list should be updated, it now returns an ARRAY with the 'also to-be mailed' adresses
  • Another idea: It's trivial now to also add a X-Mantis-Version: header...

Feel free to contact me.

TagsNo tags attached.

Relationships

duplicate of 0004512 acknowledged Patch: Add X-Mantis-* Headers to E-Mail 

Activities

sgrund

sgrund

2004-02-24 02:00

reporter   ~0005082

I like the idea of headerfields.
Just a commend to X-Mantis-Version: if $g_show_version is set to OFF this headerfield shoudn't be set.

vboctor

vboctor

2004-09-08 16:42

manager   ~0007501

We will merge this issue in 0004512.