...
|
...
|
@@ -130,6 +130,7 @@ class Body { |
|
|
public function ltrimText($body){
|
|
|
$bodyMiaoSuText = [
|
|
|
"This is a multi-part message in MIME format.",
|
|
|
"This is a MIME-encapsulated message.",
|
|
|
"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.",
|
|
|
// 'This is a MIME message.'
|
...
|
...
|
@@ -144,6 +145,11 @@ class Body { |
|
|
}
|
|
|
}
|
|
|
|
|
|
$body = explode("\r\n\r\n",$body);
|
|
|
if(stripos($body[0],'This is a M')===0 && strpos($body[1],'--')===0){
|
|
|
unset($body[0]);
|
|
|
}
|
|
|
$body = implode("\r\n\r\n",$body);
|
|
|
|
|
|
return $body;
|
|
|
|
...
|
...
|
|