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 a053b02..710f21e 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 */