Skip to content

Commit a0d3d1c

Browse files
committed
$message->getRawBody() throws Exception #88
1 parent ba74198 commit a0d3d1c

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
@@ -662,7 +662,7 @@ public function unsetFlag($flag) {
662662
*/
663663
public function getRawBody() {
664664
if ($this->raw_body === null) {
665-
$this->raw_body = imap_fetchbody($this->client->getConnection(), $this->getUid(), '');
665+
$this->raw_body = imap_fetchbody($this->client->getConnection(), $this->getMessageNo(), '');
666666
}
667667

668668
return $this->raw_body;

0 commit comments

Comments
 (0)