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

Constructor Index

 o IMAP4Connection()

Method Index

 o getFolders(String, List)
Return a list of folders given a root directory for the mail folders by issuing a 'LIST' command

Constructors

 o IMAP4Connection
  public IMAP4Connection()

Methods

 o 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