stekkel 22 年之前
父节点
当前提交
b71d918383
共有 1 个文件被更改,包括 4 次插入5 次删除
  1. 4 5
      src/compose.php

+ 4 - 5
src/compose.php

@@ -1434,11 +1434,10 @@ function deliverMessage($composeMessage, $draft=false) {
         } else {    
             $rfc822_header->encoding = '8bit';
         }            
-    }
-    if ($default_charset) {
-        $content_type->properties['charset']=$default_charset;
-    }
-        
+        if ($default_charset) {
+            $content_type->properties['charset']=$default_charset;
+        }
+    }        
     $rfc822_header->content_type = $content_type;
     $composeMessage->rfc822_header = $rfc822_header;