javanile / php-imap2

PHP IMAP with OAUTH2
https://php-imap2.javanile.org/
GNU General Public License v3.0
54 stars 31 forks source link

The function imap2_get_quotaroot() is calling expunge functions instead of imap_get_quotaroot() #49

Open fatihfth opened 1 year ago

fatihfth commented 1 year ago

The function imap2_get_quotaroot() is calling the function Message::expunge(). And it is calling "$client->expunge()" or imap_expunge() function.

The function imap2_get_quotaroot() needs be equivalent of imap_get_quotaroot(): https://www.php.net/manual/en/function.imap-get-quotaroot

But now it is calling expunge functions (imap_expunge — Delete all messages marked for deletion): https://www.php.net/manual/en/function.imap-expunge.php

https://github.com/javanile/php-imap2/blob/5b79c39e6bce704450a96006bcf9de553abf12df/bootstrap.php#L1293

aberel commented 6 months ago

i see the same, nobady replies? In fact, 6 functions have the same issue