IMP_Mbox_Generate
in package
Method to generate MBOX data.
Tags
Table of Contents
Methods
- generate() : resource
- Generates a string that can be saved out to an mbox format mailbox file for a mailbox (or set of mailboxes), optionally including all subfolders of the selected mailbox(es) as well. All mailboxes will be output in the same string.
Methods
generate()
Generates a string that can be saved out to an mbox format mailbox file for a mailbox (or set of mailboxes), optionally including all subfolders of the selected mailbox(es) as well. All mailboxes will be output in the same string.
public
generate(mixed $mboxes) : resource
Parameters
- $mboxes : mixed
-
A mailbox name (UTF-8), or list of mailbox names, to generate a mbox file for.
Return values
resource —A stream resource containing the text of a mbox format mailbox file.