diff --git a/src/net/imap/IMAPFolder.cpp b/src/net/imap/IMAPFolder.cpp index 4214238a..94d7ab13 100644 --- a/src/net/imap/IMAPFolder.cpp +++ b/src/net/imap/IMAPFolder.cpp @@ -924,9 +924,9 @@ void IMAPFolder::deleteMessages(const messageSet& msgs) command.imbue(std::locale::classic()); if (msgs.isUIDSet()) - command << "UID STORE" << IMAPUtils::messageSetToSequenceSet(msgs); + command << "UID STORE " << IMAPUtils::messageSetToSequenceSet(msgs); else - command << "STORE" << IMAPUtils::messageSetToSequenceSet(msgs); + command << "STORE " << IMAPUtils::messageSetToSequenceSet(msgs); command << " +FLAGS (\\Deleted)";