Skip to content

Commit 42874dd

Browse files
committed
SHow folders
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/net/trunk@1842970 13f79535-47bb-0310-9956-ffa450edef68
1 parent a4ae7b2 commit 42874dd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/java/org/apache/commons/net/examples/mail/IMAPMail.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@ public static void main(String[] args) throws IOException {
6666

6767
imap.status("inbox", new String[]{"MESSAGES"});
6868

69+
imap.list("", "*"); // Show the folders
70+
6971
} catch (IOException e) {
7072
System.out.println(imap.getReplyString());
7173
e.printStackTrace();

0 commit comments

Comments
 (0)