diff options
author | Jesse Morgan <jesse@jesterpm.net> | 2011-06-02 20:06:26 -0700 |
---|---|---|
committer | Jesse Morgan <jesse@jesterpm.net ; true> | 2011-06-02 20:06:26 -0700 |
commit | 36d95e85868100b5b65b136f322b686566eaaffd (patch) | |
tree | 677ac8acc768088cf8f762cb4887314ae74eabdf /scripts | |
parent | 18a8041cac4ef0e29b5afe0176c78cea5c9f20dd (diff) |
Fixed a couple bugs
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/forward_emails.php | 5 |
1 files changed, 4 insertions, 1 deletions
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"; } |