Class com.tdac.mail.IMAP4Connection
All Packages Class Hierarchy This Package Previous Next Index
Class com.tdac.mail.IMAP4Connection
java.lang.Object
|
+----com.tdac.mail.SocketConnection
|
+----com.tdac.mail.MailConnection
|
+----com.tdac.mail.IMAP2Connection
|
+----com.tdac.mail.IMAP4Connection
- public class IMAP4Connection
- extends IMAP2Connection
This class is used to connect to an IMAP4 mail server. The class
implements a 'tagged' conversation protocol.
- Version:
- 1.0, 11/11/96
- Author:
- Timothy D. A. Cox
-
IMAP4Connection()
-
-
getFolders(String, List)
- Return a list of folders given a root directory for the mail folders
by issuing a 'LIST' command
IMAP4Connection
public IMAP4Connection()
getFolders
public Response getFolders(String dir,
List list) throws ExceptionMailConnection
- Return a list of folders given a root directory for the mail folders
by issuing a 'LIST' command
- Parameters:
- dir - mail folder root directory (eg. ~user/mail)
- list - the list to insert the folder names into
- Returns:
- server response from the command
- Overrides:
- getFolders in class MailConnection
All Packages Class Hierarchy This Package Previous Next Index