diff --git a/src/IMAP/Message.php b/src/IMAP/Message.php index e14c7bf..df16279 100644 --- a/src/IMAP/Message.php +++ b/src/IMAP/Message.php @@ -700,7 +700,7 @@ public function setFlag($flag) { */ public function unsetFlag($flag) { $flag = "\\".trim(is_array($flag) ? implode(" \\", $flag) : $flag); - return imap_clearflag_full($this->client->getConnection(), $this->getUid(), "\\$flag", SE_UID); + return imap_clearflag_full($this->client->getConnection(), $this->getUid(), $flag, SE_UID); } /**