Package examples.mail
Class IMAPImportMbox
java.lang.Object
examples.mail.IMAPImportMbox
This is an example program demonstrating how to use the IMAP[S]Client class.
This program connects to a IMAP[S] server and imports messages into the folder from an mbox file.
Usage: IMAPImportMbox imap[s]://user:password@host[:port]/folder/path
An example selector might be:
For example:
IMAPImportMbox imaps://user:pass@imap.googlemail.com/imported_messages 201401.mbox 1-10,20 -142986-
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IMAPImportMbox
public IMAPImportMbox()
-
-
Method Details
-
main
- Throws:
IOException
-