imap_mail_copy
imap_mail_copy
Copy specified messages to a mailbox
bool **imap_mail_copy** IMAP\Connection $imap string $message_nums string $mailbox int $flags
Copies mail messages specified by
to specified mailbox.
message_nums
message_nums
is a range not just message
numbers (as described in ).
message_numsRFC2060
mailbox
The mailbox name, see for more
information
imap_open
flags
is a bitmask of one or more of
`flags`- - the sequence numbers contain UIDS `CP_UID`
-
- Delete the messages from the current mailbox after copying. If this flag is set, the function behaves identically to .
CP_MOVE``imap_mail_move
- Delete the messages from the current mailbox after copying. If this flag is set, the function behaves identically to .
return.success
imap_mail_move