Make sure an imap sent mail folder is properly kept open during move of the message from the local sent mail (where it is placed for fallback) to the imap folder by using a KMMoveCommand, which nicely encapsulates all that. This avoids the folder constantly opening and closing during processing of incoming data which makes KMail appear hung and consumes massive amounts of cpu.
Make sure an imap sent mail folder is properly kept open during move of
the message from the local sent mail (where it is placed for fallback) to
the imap folder by using a KMMoveCommand, which nicely encapsulates all
that. This avoids the folder constantly opening and closing during
processing of incoming data which makes KMail appear hung and consumes
massive amounts of cpu.

Ferdinand, can you confirm this fixes it?

CCMAIL: 84215-done@bugs.kde.org

svn path=/trunk/kdepim/; revision=333060

lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi,lefou/kdepim-noakonadi