public class Pop3MailReceiver extends MailReceiver
MailReceiver.Module
mailSettings, pendingDeletion
Modifier and Type | Method and Description |
---|---|
int[] |
fetchMessage(BufferedReader reader) |
void |
handleEmails(boolean async)
handleEmails will open a connection to the mail server, remove emails where deletion is
pending, read new email and close the connection.
|
dispatchMailProcessor, requestDeletion, start, stop
public void handleEmails(boolean async)
handleEmails
in class MailReceiver
async
- Determines if processing messages should happen asynchronous.public final int[] fetchMessage(BufferedReader reader) throws IOException
IOException