Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## examples.mail
Class POP3Mail

    java.lang.Object
      examples.mail.POP3Mail

    public final class POP3Mail

extends Object

This is an example program demonstrating how to use the POP3Client class. This program connects to a POP3 server and retrieves the message headers of all the messages, printing the From: and Subject: header entries for each message.

Usage: messages

Constructor Summary
`POP3Mail()`

Method Summary
`static void` | `main(String[] args)`
`static void` | `printMessageInfo(BufferedReader reader, int id)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### POP3Mail

    public POP3Mail()

Method Detail

### printMessageInfo

    public static final void printMessageInfo(BufferedReader reader,
                                              int id)
                                       throws IOException

  Throws:
    `IOException`

### main

    public static final void main(String[] args)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.