From 969f586517c4021e784a4a4d09d7421fc90a1016 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 15 Oct 2005 06:14:31 +0000 Subject: Bug 311913: Add support for X-Bugzilla-Keywords and X-Bugzilla-Severity to email notifications - Patch by Mark Loeser r=LpSolit a=justdave --- Bugzilla/BugMail.pm | 2 ++ Bugzilla/Config/MTA.pm | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Bugzilla/BugMail.pm b/Bugzilla/BugMail.pm index f1a47a3a3..6c2f8591c 100644 --- a/Bugzilla/BugMail.pm +++ b/Bugzilla/BugMail.pm @@ -584,6 +584,8 @@ sub sendMail { } $substs{"product"} = $values{'product'}; $substs{"component"} = $values{'component'}; + $substs{"keywords"} = $values{'keywords'}; + $substs{"severity"} = $values{'bug_severity'}; $substs{"summary"} = $values{'short_desc'}; $substs{"reasonsheader"} = join(" ", map { $rel_names{$_} } @$relRef); $substs{"reasonsbody"} = $reasonsbody; diff --git a/Bugzilla/Config/MTA.pm b/Bugzilla/Config/MTA.pm index 25f70761b..61569e2d3 100644 --- a/Bugzilla/Config/MTA.pm +++ b/Bugzilla/Config/MTA.pm @@ -89,6 +89,8 @@ Subject: [Bug %bugid%] %neworchanged%%summary% X-Bugzilla-Reason: %reasonsheader% X-Bugzilla-Product: %product% X-Bugzilla-Component: %component% +X-Bugzilla-Keywords: %keywords% +X-Bugzilla-Severity: %severity% %urlbase%show_bug.cgi?id=%bugid% -- cgit v1.2.3-24-g4f1b