...
|
...
|
@@ -272,6 +272,12 @@ class Body { |
|
|
else if(strpos($data['type'],'text/') === 0 ){
|
|
|
// tag
|
|
|
$data['body'] = trim($this->body_remove_tag($data['body'],'Content-ID:'));
|
|
|
|
|
|
$data['body'] = $this->body_remove_tag($data['body'],"Content-");
|
|
|
$data['body'] = $this->body_remove_tag($data['body'],"Content-");
|
|
|
$data['body'] = $this->body_remove_tag($data['body'],"Content-");
|
|
|
$data['body'] = $this->body_remove_tag($data['body'],"Content-");
|
|
|
|
|
|
// body解密
|
|
|
switch($data['encode']??''){
|
|
|
case 'base64': {
|
...
|
...
|
@@ -398,6 +404,10 @@ class Body { |
|
|
|
|
|
$item['body'] = str_replace($result,'',$item['body']);
|
|
|
|
|
|
$item['body'] = $this->body_remove_tag($item['body'],"Content-");
|
|
|
$item['body'] = $this->body_remove_tag($item['body'],"Content-");
|
|
|
$item['body'] = $this->body_remove_tag($item['body'],"Content-");
|
|
|
$item['body'] = $this->body_remove_tag($item['body'],"Content-");
|
|
|
|
|
|
$content = base64_decode(trim($item['body']));
|
|
|
|
...
|
...
|
|