| java.lang.Object com.quadcap.pop3.client.Agent
Agent | public class Agent implements Runnable(Code) | | This simple Pop3 agent transfers all new messages in a remote Pop3
mailbox into the specified folder in the quadcap message store.
A more sophisticated agent would scan the headers first and apply
filters to certain messages without having to fetch the bodies.
author: Stan Bailes |
Method Summary | |
void | getAndDeleteMail() The simple delete from server case. | public static void | main(String[] args) | public void | run() The Command callback object which invokes this agent. |
Agent | public Agent(String host, String user, String password)(Code) | | Create a new Agent with the specified profile name
Parameters: profileName - the name of the profile. |
getAndDeleteMail | void getAndDeleteMail() throws IOException(Code) | | The simple delete from server case. Get all of the mail,
put it in the right folder, then delete it from the server.
|
run | public void run()(Code) | | The Command callback object which invokes this agent.
|
|
|