Open MikeyF-Anovia opened 6 months ago
It's unclear what you are trying to achieve First guess it's php 8 support
I am trying to achieve understanding as to why 5 different functions all call the same code, which is $client->deleteFolder($mailbox) or imap_deletemailbox($imap, $mailbox) when that is not the purpose of those functions.
It looks like a bug, or several, to me.
In php-imap2/src/Mailbox.php line 322+ the functions getSubscribed, listSubscribed, subscribe, unsubscribe all call deleteFolder() and imap_deletemailbox(). This seems odd to me. Is that correct?