How can I move messages from one mailbox to another? For example, from Inbox to CustomFolder. I use next code for this:
I didn't find any method for moving.
asked Mar 31 '14 at 06:42
The IMAP protocol itself does not provide a "MOVE to another folder" command. The only way to do it is to copy the email to another folder, and then delete it from the original folder.
answered Mar 31 '14 at 14:24