You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
public static function getSubscribed($imap, $mailbox)
{
if (is_a($imap, Connection::class)) {
$client = $imap->getClient();
return $client->deleteFolder($mailbox);
}
return imap_deletemailbox($imap, $mailbox);
}
The text was updated successfully, but these errors were encountered:
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.
As promising as this whole project may look - especially as PHP will probably move the imap c-client out of the standard tree - it seems like there has been no activity regarding the code since Sep 2023...
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?
The text was updated successfully, but these errors were encountered: