php man page for imap_mail_copy

Query: imap_mail_copy

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

IMAP_MAIL_COPY(3)							 1							 IMAP_MAIL_COPY(3)

imap_mail_copy - Copy specified messages to a mailbox

SYNOPSIS
bool imap_mail_copy (resource $imap_stream, string $msglist, string $mailbox, [int $options])
DESCRIPTION
Copies mail messages specified by $msglist to specified mailbox.
PARAMETERS
o $ imap_stream -An IMAP stream returned by imap_open(3). o $msglist -$msglist is a range not just message numbers (as described in RFC2060). o $mailbox - The mailbox name, see imap_open(3) for more information o $options -$options is a bitmask of one or more of o CP_UID - the sequence numbers contain UIDS o CP_MOVE - Delete the messages from the current mailbox after copying
RETURN VALUES
Returns TRUE on success or FALSE on failure.
SEE ALSO
imap_mail_move(3). PHP Documentation Group IMAP_MAIL_COPY(3)
Related Man Pages
imap_setflag_full(3) - php
imap_check(3) - php
imap_getsubscribed(3) - php
imap_listscan(3) - php
imap_mailboxmsginfo(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Please Welcome Ravinder Singh to the Moderation Team
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun