Smiling Souls

Steeped in the delicious tea like leaves of anthroposophy for the evolving soul.


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 Error: 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 Error: Invalid action. The $action argument must be one of copy|move.
access public
see imap_mail_copy()


There are no comments posted at this time.

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.

* All comments are moderated and are subject to approval.
Your comment will appear once it has been approved.
Posting multiple times will not expedite the approval process.

Comments are closed at this time.

© Copyright 2015 Hot Toddy, All Rights Reserved.