Permalink
Browse files

Add some X-PHP headers to patch emails.

  • Loading branch information...
1 parent b6bca05 commit 659006ff14452c07423ac619cd3ffd7f34c20007 @convissor convissor committed Apr 5, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 templates/mail/Patch_Added.tpl.php
@@ -5,11 +5,14 @@
*
* %id% The patch ID
* %url% The URL of the patch entry
+ * %package% The package name
* %packageUrl% The package url
* %date% The date of the patch in human readable format
*/
$tpl = array(
+ 'X-PHP-Bug' => '%id%',
+ 'X-PHP-Category' => '%package%',
'Reply-To' => array(SITE_BIG . ' Webmaster <' . PEAR_WEBMASTER_EMAIL . '>'),
'Subject' => '[Patch] Patch Added/Updated for bug %id%',
'Body' => 'Dear maintainer,
@@ -24,4 +27,4 @@
View bug report at : %packageUrl%
'
- );
+ );

0 comments on commit 659006f

Please sign in to comment.