You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
protected function imapFetchbody($section)
{
/*
* Update note: We must add FT_PEEK to perserve the unread status of the email.
* Documentation of this can see seen here: http://php.net/manual/en/function.imap-fetchbody.php under options
*/
return imap_fetchbody($this->imapStream, $this->id, $section, FT_PEEK );
}
FT_PEEK is set, which will always mark message as unseen
The text was updated successfully, but these errors were encountered:
getUnreadMessages($read = true)
$read = true will not work because
FT_PEEK is set, which will always mark message as unseen
The text was updated successfully, but these errors were encountered: