diff --git a/include/class.mailparse.php b/include/class.mailparse.php
index 703258b5632f4e835d21c1a7368e70042c76987f..22bb6ad418997c8a55d5810d9db78d811bde7ad1 100644
--- a/include/class.mailparse.php
+++ b/include/class.mailparse.php
@@ -275,7 +275,8 @@ class Mail_Parse {
                 return $p->parts[0]->headers;
             // Handle rfc1892 style bounces
             if (strtolower($ctype) === 'text/rfc822-headers') {
-                $T = new Mail_mimeDecode($p->body . "\n\nIgnored");
+                $body = $p->body . "\n\nIgnored";
+                $T = new Mail_mimeDecode($body);
                 if ($struct = $T->decode())
                     return $struct->headers;
             }