handling strange phenomenon, where messages were not marked as read upon reading, on some servers

This commit is contained in:
Klaus Leithoff 2008-09-04 10:25:00 +00:00
parent 1ac2258474
commit 09194efeeb

View File

@ -147,6 +147,8 @@
$attachments = $this->bofelamimail->getMessageAttachments($this->uid, $partID);
#_debug_array($attachments); exit;
$envelope = $this->bofelamimail->getMessageEnvelope($this->uid, $partID);
// flagg the message as read/seen explizitly, since some servers dont do it upon reading
if (!empty($this->uid)) $this->bofelamimail->flagMessages('read', $this->uid);
$nextMessage = $this->bofelamimail->getNextMessage($this->mailbox, $this->uid);