/** * Remove a message from server. If you're doing that from a web environment * you should be careful and use a uniqueid as parameter if possible to * identify the message. * * @param int $id number of message * @throws \Zend\Mail\Protocol\Exception\RuntimeException */ public function removeMessage($id) { $this->protocol->delete($id); }