作者 邓超

x

@@ -10,6 +10,7 @@ @@ -10,6 +10,7 @@
10 "ext-mbstring": "*", 10 "ext-mbstring": "*",
11 "ext-json": "*", 11 "ext-json": "*",
12 "ext-iconv": "*", 12 "ext-iconv": "*",
  13 + "ext-imap": "*",
13 "phpmailer/phpmailer": "^6.7" 14 "phpmailer/phpmailer": "^6.7"
14 }, 15 },
15 "require-dev": { 16 "require-dev": {
@@ -258,7 +258,9 @@ class Body { @@ -258,7 +258,9 @@ class Body {
258 } 258 }
259 case '8bit': { 259 case '8bit': {
260 try { 260 try {
261 - $data['body'] = DeCoding::de8bit($data['body']); 261 +// $data['body'] = DeCoding::de8bit($data['body']);
  262 + // 暂时没有替换 imap_8bit的函数
  263 + $data['body'] = imap_8bit($data['body']);
262 $data['body'] = quoted_printable_decode($data['body']); 264 $data['body'] = quoted_printable_decode($data['body']);
263 }catch (\Throwable $e){ 265 }catch (\Throwable $e){
264 266