gnu.mail.providers.pop3
Class POP3Store
public final class POP3Store
The storage class implementing the POP3 mail protocol.
void | close() - Closes the connection.
|
Folder | getDefaultFolder() - Returns the root folder.
|
Folder | getFolder(String s) - Returns the folder with the specified name.
|
Folder | getFolder(URLName urlname) - Returns the folder whose name is the file part of the specified URLName.
|
protected boolean | protocolConnect(String host, int port, String username, String password) - Connects to the POP3 server and authenticates with the specified
parameters.
|
addFolderListener , addStoreListener , getDefaultFolder , getFolder , getFolder , getPersonalNamespaces , getSharedNamespaces , getUserNamespaces , notifyFolderListeners , notifyFolderRenamedListeners , notifyStoreListeners , removeFolderListener , removeStoreListener |
addConnectionListener , close , connect , connect , connect , getURLName , isConnected , notifyConnectionListeners , protocolConnect , removeConnectionListener , setConnected , setURLName , toString |
POP3Store
public POP3Store(Session session,
URLName urlname)
Constructor.
protocolConnect
protected boolean protocolConnect(String host,
int port,
String username,
String password)
throws MessagingException
Connects to the POP3 server and authenticates with the specified
parameters.
- protocolConnect in interface Service