Wrapper function for imap_delete. Sets the marked for deletion flag. Note: POP3 mailboxes do not remember flag settings between connections, for POP3 mailboxes this function should be used in addtion to expunge.
Gather message information returned by imap_fetchstructure and recursively iterate
This class provides an extension to Mail_IMAPv2 that adds mailbox management
features. These features include the ability to create/rename/delete (sub)mailboxes on the server, as well as the ability to move/copy mail from one folder to another, and finally the ability to import messages into the server.
One of copy|move if copy, a copy of the message will remain in the current mailbox. If move the message is permenently moved to the specified mailbox.
An array of messages to move, see (@link imap_mail_copy} or imap_mail_move for more options. The array is imploded into a comma separated list, therefore other options such as 1:10 syntax or * syntax may be specified in the array.
The destination mailbox, such as 'INBOX.Drafts' or 'INBOX.Sent'