From 36d95e85868100b5b65b136f322b686566eaaffd Mon Sep 17 00:00:00 2001 From: Jesse Morgan Date: Thu, 2 Jun 2011 20:06:26 -0700 Subject: Fixed a couple bugs --- scripts/forward_emails.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/forward_emails.php b/scripts/forward_emails.php index bd4846f..d40afac 100644 --- a/scripts/forward_emails.php +++ b/scripts/forward_emails.php @@ -47,10 +47,13 @@ foreach ($splitmsg as $line) { $subject = $header[1]; break; - case 'delivered-to': + case 'x-original-to': $to = $header[1]; break; + case 'delivered-to': + break; + default: $headers .= "$line\n"; } -- cgit v1.2.3