imap_mail_move(3) php man page | unix.com

Man Page: imap_mail_move

Operating Environment: php

Section: 3

IMAP_MAIL_MOVE(3)							 1							 IMAP_MAIL_MOVE(3)

imap_mail_move - Move specified messages to a mailbox

SYNOPSIS
bool imap_mail_move (resource $imap_stream, string $msglist, string $mailbox, [int $options])
DESCRIPTION
Moves mail messages specified by $msglist to the 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 and may contain the single option: o CP_UID - the sequence numbers contain UIDS
RETURN VALUES
Returns TRUE on success or FALSE on failure.
NOTES
Note imap_mail_move(3) will flag the original mail with a delete flag, to successfully delete it a call to the imap_expunge(3) function must be made.
SEE ALSO
imap_mail_copy(3). PHP Documentation Group IMAP_MAIL_MOVE(3)
Related Man Pages
imap_createmailbox(3) - php
imap_append(3) - php
imap_delete(3) - php
imap_getmailboxes(3) - php
imap_getsubscribed(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Rules for Homework & Coursework Questions Forum
UNIX.COM 2017 Year End Summary
Coming Soon: Upgrade Forum Software (Dec 31 - Jan 1)
Denial Of Service Attack Update