Skip to content

Commit 62a15f9

Browse files
committed
Msgno setting updated
1 parent d56c3b2 commit 62a15f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/IMAP/Message.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ private function parseHeader() {
258258
$this->message_id = str_replace(['<', '>'], '', $header->message_id);
259259
}
260260
if (property_exists($header, 'Msgno')) {
261-
$this->message_no = imap_msgno($this->client->getConnection(), trim($header->Msgno));
261+
$this->message_no = ($this->fetch_options == FT_UID) ? trim($header->Msgno) : imap_msgno($this->client->getConnection(), trim($header->Msgno));
262262
}
263263
}
264264

0 commit comments

Comments
 (0)