CSS: Providing seven essential vitamins and minerals since 1996.
Have a steaming hot, delicious slice of Standards.

Mail_IMAP_ManageMB::manageMail()

bool manageMail(str $action, array $msg_list, str $dest_mb)

This method is used to copy or move mail from one mailbox to another.

Warning: This method is new and is thus experimental. Its API may be tweaked in future releases.

Method summary:

param str $action One of copy|move. Toggles wether a message is copied to another mailbox or permenently moved.
param array $msg_list An array of message ids to copy or move.
param str $dest_mb The name of the destination mailbox to copy or move messages to.
return bool
throws ErrorStack: Argument requires array. The $msg_list argument must be an array.
throws ErrorStack: Unable to copy or move message, imap_mail_(copy|move) failed. Calling on imap_mail_copy or imap_mail_move failed (depending on the action), check syntax and try again, or the method is unsupported by the server.
throws ErrorStack: Invalid action. The $action argument must be one of copy|move.
access public
see imap_mail_copy
imap_mail_move

Leave a Comment

Simple HTML is allowed: <code>, <b>, <i>, <u>, <var>, <strong>, <em>, <blockquote>, <ul>, <ol>, <li>, <p> (no attributes). All spacing and line breaks in your comment will be preserved.

PHP Powered XHTML 1.0 CSS
Copyright © 1998-2012 Richard York, All Rights Reserved.