mirror of
https://github.com/retailcrm/Fetch.git
synced 2025-02-06 10:39:21 +03:00
commit
6a8d11e9dd
@ -650,6 +650,9 @@ class Message
|
||||
*/
|
||||
public function moveToMailBox($mailbox)
|
||||
{
|
||||
return imap_mail_copy($this->imapStream, $this->uid, $mailbox, CP_UID | CP_MOVE);
|
||||
$returnValue = imap_mail_copy($this->imapStream, $this->uid, $mailbox, CP_UID | CP_MOVE);
|
||||
imap_expunge($this->imapStream);
|
||||
|
||||
return $returnValue;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user