sergey144010
sergey144010
Ok. Questions: 1. You first had 1 unread message. You have web interface and in it you see that the letter is not read? 2. You took it with getMessage()....
And 'details' property ```php $imap->inMess->header->details ``` Just uses it ```php imap_headerinfo($this->imapStream, $this->id); ``` This is a Php built-in function. See http://php.net/manual/ru/function.imap-headerinfo.php ```php Unseen - U if not seen AND not...
When I use the web interface and use $imap->setUnseenMessage() method, the update in the web interface does not happen instantly, it is necessary to switch between folders, and then an...
What this? ```php inboxcategories_all ``` Do you use it? ```php $imap = new ImapClient([ ... 'mailbox' => [ 'remote_system_name' => 'imap.server.ru', 'mailbox_name' => INBOX.categories, ], ... ]); ``` or ```php...
try this ```php $imap = new ImapClient([ ... 'mailbox' => [ 'remote_system_name' => 'imap.server.ru', 'mailbox_name' => INBOX, ], ... ]); $imap->selectFolder(categories); $emails = $imap->getMessages(); ```
That is. You do not have a folder separator here. ```php inboxcategories_all ```
1. This method setUnseenMessage($ids) is a wrapper for this imap_clearflag_full(). So he returns boolean. More details here http://php.net/manual/en/function.imap-clearflag-full.php > Return Values Returns TRUE on success or FALSE on failure. ```php...
What are we talking about?
Recalculate letters using $imap->count, next cycle, find id error message and exept it, and next show me structure this letter.
Make this ```php $count = $imap->countMessages(); for($i=1, $igetMessage($i); } ``` and show me