IMAP has no built in move command, when you move a message you actually copy it to another folder and then delete the original (mark as deleted, expunge).# copy messages between folders $imap->select('INBOX'); $imap->copy(\@msg_ids, 'Archive'); # delete messages ("Move to Trash") $imap->copy(\@msg_ids, 'Trash'); $imap->add_flags(\@msg_ids, '\\Deleted'); $imap->expunge;
In reply to Re^2: How do I move mail msg to another folder in ECHANGE via a MAPI connection?
by Anonymous Monk
in thread How do I move mail msg to another folder in ECHANGE via a MAPI connection?
by boat73
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |