正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -129,6 +129,7 @@ class Body { | @@ -129,6 +129,7 @@ class Body { | ||
129 | 129 | ||
130 | public function ltrimText($body){ | 130 | public function ltrimText($body){ |
131 | $bodyMiaoSuText = [ | 131 | $bodyMiaoSuText = [ |
132 | + "This is a multi-part message in MIME format", | ||
132 | "This is a multi-part message in MIME format.", | 133 | "This is a multi-part message in MIME format.", |
133 | "This is a multipart message in MIME format.", | 134 | "This is a multipart message in MIME format.", |
134 | "This is a MIME message. If you are reading this text, you may want to \r\nconsider changing to a mail reader or gateway that understands how to \r\nproperly handle MIME multipart messages.", | 135 | "This is a MIME message. If you are reading this text, you may want to \r\nconsider changing to a mail reader or gateway that understands how to \r\nproperly handle MIME multipart messages.", |
@@ -137,7 +138,7 @@ class Body { | @@ -137,7 +138,7 @@ class Body { | ||
137 | 138 | ||
138 | foreach ($bodyMiaoSuText as $str){ | 139 | foreach ($bodyMiaoSuText as $str){ |
139 | // 这个是描述特殊文本 | 140 | // 这个是描述特殊文本 |
140 | - if(strpos($body,$str)===0){ | 141 | + if(stripos($body,$str)===0){ |
141 | $body = ltrim($body,$str); | 142 | $body = ltrim($body,$str); |
142 | $body = trim($body); | 143 | $body = trim($body); |
143 | } | 144 | } |
-
请 注册 或 登录 后发表评论