public final class IMAPExportMbox extends Object
Usage: IMAPExportMbox imap[s]://user:password@host[:port]/folder/path
An example sequence-set might be:
Some example item-names might be:
For example:
Note that the sequence-set is passed unmodified to the FETCH command.
The item names are wrapped in parentheses if more than one is provided.
Otherwise, the parameter is assumed to be wrapped if necessary.
Parameters with spaces must be quoted otherwise the OS shell will normally treat them as separate parameters.
Also the listener that writes the mailbox only captures the multi-line responses.
It does not capture the output from ENVELOPE commands.
IMAPExportMbox imaps://username:password@imap.googlemail.com/messages_for_export exported.mbox 1:10,20
IMAPExportMbox imaps://username:password@imap.googlemail.com/messages_for_export exported.mbox 3 ENVELOPE
Constructor and Description |
---|
IMAPExportMbox() |
public static void main(String[] args) throws IOException
IOException