Example usage for org.apache.commons.net.imap IMAPClient IMAPClient

List of usage examples for org.apache.commons.net.imap IMAPClient IMAPClient

Introduction

In this page you can find the example usage for org.apache.commons.net.imap IMAPClient IMAPClient.

Prototype

IMAPClient

Source Link

Usage

From source file:org.apache.james.mailets.utils.IMAPMessageReader.java

public IMAPMessageReader(String host, int port) throws IOException {
    imapClient = new IMAPClient();
    imapClient.connect(host, port);
}