added Conbtent-Transfer-Encoding to rfc822 header
authorstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 12 May 2003 09:18:38 +0000 (09:18 +0000)
committerstekkel <stekkel@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 12 May 2003 09:18:38 +0000 (09:18 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@4864 7612ce4b-ef26-0410-bec9-ea0150e637f0

class/deliver/Deliver.class.php

index a053b025278949fe4bac7202b2dc4ba754161c13..710f21ed92ef6c0c03982de394aebcfab104c3c2 100644 (file)
@@ -313,6 +313,9 @@ class Deliver {
            }
        }
         $header[] = $contenttype . $rn;
+       if ($encoding = $rfc822_header->encoding) {
+            $header[] .= 'Content-Transfer-Encoding: ' . $encoding .  $rn;
+        }        
         if ($rfc822_header->dnt) {
            $dnt = $rfc822_header->getAddr_s('dnt'); 
            /* Pegasus Mail */