Mail_IMAP_ManageMB::importMail()

bool importMail(str $dest_mb, array $messages)

This method is used to import raw MIME messages into the server.

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

Method summary:

param str $dest_mb The name of the destination mailbox to import messages to.
param array $messages An array of messages to import.
return bool
throws ErrorStack: Argument requires array. The $msg_list argument must be an array.
throws ErrorStack: Unable to import message, imap_append failed! Calling on imap_append failed, check syntax and try again, or the method is unsupported by the server.
access public
see imap_append
Execution time: 0.07 seconds