作者 邓超

优化

@@ -375,7 +375,7 @@ class Msg extends Request{ @@ -375,7 +375,7 @@ class Msg extends Request{
375 $this->folder->exec(); 375 $this->folder->exec();
376 if(!$utf7) $folder = mb_iconv($folder,"UTF7-IMAP","UTF-8"); 376 if(!$utf7) $folder = mb_iconv($folder,"UTF7-IMAP","UTF-8");
377 // "UID MOVE {$uids} \"{$folder}\"" 377 // "UID MOVE {$uids} \"{$folder}\""
378 - $this->cmd('%s MOVE %s "%s"', 378 + $this->cmd('%sMOVE %s "%s"',
379 $this->isUid?'UID ':'', 379 $this->isUid?'UID ':'',
380 implode(',',$this->number), 380 implode(',',$this->number),
381 $folder 381 $folder
@@ -397,7 +397,7 @@ class Msg extends Request{ @@ -397,7 +397,7 @@ class Msg extends Request{
397 if(!$utf7) $folder = mb_iconv($folder,"UTF7-IMAP","UTF-8"); 397 if(!$utf7) $folder = mb_iconv($folder,"UTF7-IMAP","UTF-8");
398 // "UID COPY {$uids} \"{$folder}\"" 398 // "UID COPY {$uids} \"{$folder}\""
399 $this->cmd('%s COPY %s "%s"', 399 $this->cmd('%s COPY %s "%s"',
400 - $this->isUid?'UID ':'', 400 + $this->isUid?'UID':'',
401 implode(',',$this->number), 401 implode(',',$this->number),
402 $folder 402 $folder
403 ); 403 );