作者 邓超

解码问题

... ... @@ -37,7 +37,7 @@ class MailFun {
* @time 2023/3/27 13:55
*/
public static function mb_coding(string $str,array $appcode=[]){
return (new Header())->decode(trim($str));
return (new Header())->decode(trim($str," \t\n\r"));
}
... ...