| 
@@ -73,7 +73,7 @@ class Body { | 
 | 
@@ -73,7 +73,7 @@ class Body { | 
| 
73
 | 
         //有一些服务商会把header头一起返回,header里面包含了这个符号,
 | 
73
 | 
         //有一些服务商会把header头一起返回,header里面包含了这个符号,
 | 
| 
74
 | 
         //如果不加\r\n 就会导致 切割异常
 | 
74
 | 
         //如果不加\r\n 就会导致 切割异常
 | 
| 
75
 | 
         $items = explode("\r\n".$boundary,
 | 
75
 | 
         $items = explode("\r\n".$boundary,
 | 
| 
76
 | 
-            str_replace(['--'.$boundary.'--', $boundary.'--','--'.$boundary],"\r\n".$boundary,"\r\n".$body)
 | 
76
 | 
+            str_replace(['--'.$boundary.'--', $boundary.'--','--'.$boundary],$boundary,"\r\n".$body)
 | 
| 
77
 | 
         );
 | 
77
 | 
         );
 | 
| 
78
 | 
         // qq的有邮箱有毛病,标记是乱的
 | 
78
 | 
         // qq的有邮箱有毛病,标记是乱的
 | 
| 
79
 | 
         if(count($items)==1 && preg_match("/^\*\s\d+\sFETCH\s\(/",$body)){
 | 
79
 | 
         if(count($items)==1 && preg_match("/^\*\s\d+\sFETCH\s\(/",$body)){
 | 
 | 
@@ -168,8 +168,7 @@ class Body { | 
 | 
@@ -168,8 +168,7 @@ class Body { | 
| 
168
 | 
      * @time 2024/9/21 9:51
 | 
168
 | 
      * @time 2024/9/21 9:51
 | 
| 
169
 | 
      */
 | 
169
 | 
      */
 | 
| 
170
 | 
     protected function parseItem(string $body) {
 | 
170
 | 
     protected function parseItem(string $body) {
 | 
| 
171
 | 
-        $body = str_replace("\n\n","\r\n\r\n",trim($body));
 | 
 | 
   | 
| 
172
 | 
-        list($mime_header,$text) = explode("\r\n\r\n",($body)."\r\n\r\n",2);
 | 
171
 | 
+        list($mime_header,$text) = explode("\r\n\r\n",trim($body)."\r\n\r\n",2);
 | 
| 
173
 | 
         $text = trim($text);
 | 
172
 | 
         $text = trim($text);
 | 
| 
174
 | 
         // 解析头部
 | 
173
 | 
         // 解析头部
 | 
| 
175
 | 
         $data = $this->parseMimeHeader($mime_header);
 | 
174
 | 
         $data = $this->parseMimeHeader($mime_header);
 |