Moves messages from current mailbox to another.
Note that move functionality is not specified in the base IMAP protocol and is defined as an extension in RFC6851. That means that the MoveJob can only be used when the server lists "MOVE" in response to CAPABILITY command.
Unlike the traditional emulation of moving messages, i.e. COPY + STORE + EXPUNGE, MOVE guarantees the transaction to be atomic on the server.
Definition at line 45 of file movejob.h.
||const QString &
Set the destination mailbox.
If the mailbox does not exist, the server should not create it automatically and the job should fail. Note, however, that a conforming server may create the mailbox automatically.
|mailBox||the (unquoted) name of the mailbox where the messages should be moved to |
Definition at line 64 of file movejob.cpp.