Closed sudsin95 closed 2 years ago
public function moveMail($mailId, string $mailBox): void { Imap::mail_move($this->getImapStream(), $mailId, $mailBox, CP_UID); $this->expungeDeletedMails(); }
how to get $mailId
Please take a look at the wiki for getting started: https://github.com/barbushin/php-imap/wiki/Getting-Started
And see the examples: https://github.com/barbushin/php-imap/tree/master/examples
public function moveMail($mailId, string $mailBox): void { Imap::mail_move($this->getImapStream(), $mailId, $mailBox, CP_UID); $this->expungeDeletedMails(); }
how to get $mailId