Class IMAPMail

java.lang.Object
org.apache.commons.net.examples.mail.IMAPMail

public final class IMAPMail extends Object
This is an example program demonstrating how to use the IMAP[S]Client class. This program connects to a IMAP[S] server, lists its capabilities and shows the status of the Inbox.

Usage: IMAPMail imap[s]://username:password@server/

For example
IMAPMail imaps://username:password@imap.mail.yahoo.com/
or
IMAPMail imaps://username:password@imap.googlemail.com/