Req #5849 [NEW]: Extra header in the mail sent
| From: | arnaud at php dot net | Date: | Wed, 02 Nov 2005 10:37:30 +0000 |
| Subject: | Req #5849 [NEW]: Extra header in the mail sent | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-4588@lists.php.net to get a copy of this message | ||
From: arnaud at php dot net
Operating system:
PHP version: Irrelevant
Package: Bug System
Bug Type: Feature/Change Request
Bug description: Extra header in the mail sent
Description:
------------
This small patch will add an extra header to the mail being sent to allow
easier filtering.
Index: report.php
===================================================================
RCS file: /repository/pearweb/public_html/bugs/report.php,v
retrieving revision 1.49
diff -u -r1.49 report.php
--- report.php 20 Jul 2005 22:42:18 -0000 1.49
+++ report.php 2 Nov 2005 10:35:20 -0000
@@ -234,6 +234,7 @@
// }
$extra_headers = 'From: ' . $protected_email .
"\n";
+ $extra_headers .= 'X-PHP-BugTracker: PEARbug' . "\n";
$extra_headers .= 'X-PHP-Bug: ' . $cid . "\n";
$extra_headers .= 'X-PHP-Type: ' .
rinse($_POST['in']['bug_type']) . "\n";
$extra_headers .= 'X-PHP-Version: ' .
rinse($_POST['in']['php_version']) . "\n";
--
Edit bug report at http://pear.php.net/bugs/bug.php?id=5849&edit=1
--