...
|
...
|
@@ -129,6 +129,7 @@ class Body { |
|
|
|
|
|
public function ltrimText($body){
|
|
|
$bodyMiaoSuText = [
|
|
|
"This is a multi-part message in MIME format",
|
|
|
"This is a multi-part message in MIME format.",
|
|
|
"This is a multipart message in MIME format.",
|
|
|
"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 { |
|
|
|
|
|
foreach ($bodyMiaoSuText as $str){
|
|
|
// 这个是描述特殊文本
|
|
|
if(strpos($body,$str)===0){
|
|
|
if(stripos($body,$str)===0){
|
|
|
$body = ltrim($body,$str);
|
|
|
$body = trim($body);
|
|
|
}
|
...
|
...
|
|