Browse Source

added Conbtent-Transfer-Encoding to rfc822 header

stekkel 22 years ago
parent
commit
f2d09d0644
1 changed files with 3 additions and 0 deletions
  1. 3 0
      class/deliver/Deliver.class.php

+ 3 - 0
class/deliver/Deliver.class.php

@@ -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 */