| 
...
 | 
...
 | 
@@ -332,6 +332,8 @@ class Mail { | 
| 
 | 
 | 
 
 | 
| 
 | 
 | 
                     if(!empty($item['charset'])){
 | 
| 
 | 
 | 
                         $value = iconv($item['charset'],'utf-8',$item['body']);
 | 
| 
 | 
 | 
                     }else{
 | 
| 
 | 
 | 
                         $value = $item['body'];
 | 
| 
 | 
 | 
                     }
 | 
| 
 | 
 | 
                     $value=preg_replace("/<(script.*?)>(.*?)<(\/script.*?)>/si","",$value); //过滤script标签
 | 
| 
 | 
 | 
                     $value=preg_replace("/<(\/?script.*?)>/si","",$value); //过滤script标签
 | 
...
 | 
...
 | 
 |