作者 邓超

qq邮箱有tm毛病

@@ -40,6 +40,9 @@ class Header{ @@ -40,6 +40,9 @@ class Header{
40 $raw_header = explode("\r\n\r\n",trim($raw_header),2); 40 $raw_header = explode("\r\n\r\n",trim($raw_header),2);
41 41
42 $this->raw_header = $raw_header[0]; 42 $this->raw_header = $raw_header[0];
  43 + $this->raw_header = str_replace("\r\n","\n",$this->raw_header);
  44 + $this->raw_header = str_replace("\n","\r\n",$this->raw_header);
  45 +
43 // qq的会把退信 内容以header形式返回 46 // qq的会把退信 内容以header形式返回
44 $this->raw_body = $raw_header[1]??''; 47 $this->raw_body = $raw_header[1]??'';
45 48