正在显示
1 个修改的文件
包含
6 行增加
和
0 行删除
@@ -400,6 +400,12 @@ class Body { | @@ -400,6 +400,12 @@ class Body { | ||
400 | if($atta->getFilename()){ | 400 | if($atta->getFilename()){ |
401 | return true; | 401 | return true; |
402 | } | 402 | } |
403 | + // 这个是邮件发的源文件,以附件的形式存在 | ||
404 | + if($atta->data->eq('content-type','message/rfc822')){ | ||
405 | + // 设置名字 | ||
406 | + $atta->data->set('filename',$this->header->getSubject().'.eml'); | ||
407 | + return true; | ||
408 | + } | ||
403 | return false; | 409 | return false; |
404 | }); | 410 | }); |
405 | } | 411 | } |
-
请 注册 或 登录 后发表评论