diff --git a/src/Core/Message.php b/src/Core/Message.php index 2809cbe..654e813 100644 --- a/src/Core/Message.php +++ b/src/Core/Message.php @@ -203,4 +203,14 @@ class Message return $body; } -} \ No newline at end of file + + /** + * Delete message + * + * @return boolean + */ + public function delete() + { + return imap_delete($this->connection->getStream(), $this->msg_number); + } +}