This commit is contained in:
Tőrös Egon Richárd 2017-09-02 13:40:21 +00:00 committed by GitHub
commit baf9f5bbbe

View file

@ -203,4 +203,14 @@ class Message
return $body;
}
}
/**
* Delete message
*
* @return boolean
*/
public function delete()
{
return imap_delete($this->connection->getStream(), $this->msg_number);
}
}