Zend\Mail\Storage\Maildir::getNumberByUniqueId
get a message number from a unique id
I.e. if you have a webmailer that supports deleting messages you should use unique ids as parameter and use this method to translate it to message number right before calling removeMessage()
Signature
public function getNumberByUniqueId(string
$id )
Parameters
$id
— string- unique id
Returns
- int
- message number