[Kde-pim] IMAP resource: RemoveCollectionRecursiveTask::deleteNextMailbox() #287903
Martin Koller
kollix at aon.at
Sun Nov 17 15:35:03 GMT 2013
I'm debugging why the imap resource can not delete an empty folder
https://bugs.kde.org/show_bug.cgi?id=287903
the problem is that in RemoveCollectionRecursiveTask::deleteNextMailbox()
the code tries to select all messages in the folder to set them to "deleted".
However if the folder is empty, the server replies with an error "Invalid messageset"
and the deletion is never done.
Why does the imap resource try to delete all mails at all ?
When the folder is deleted, all mails are removed automatically.
I tried to simply not do the steps
// mark all items as deleted
// expunge the mailbox
and this works fine.
--
Best regards/Schöne Grüße
Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?
() ascii ribbon campaign - against html e-mail
/\ www.asciiribbon.org - against proprietary attachments
Geschenkideen, Accessoires, Seifen, Kulinarisches: www.bibibest.at
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list