Package examples.mail
Class POP3Mail
java.lang.Object
examples.mail.POP3Mail
This is an example program demonstrating how to use the POP3[S]Client class.
This program connects to a POP3[S] server and retrieves the message
headers of all the messages, printing the From: and Subject: header
entries for each message.
See main() method for usage details
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
static final void
printMessageInfo
(BufferedReader reader, int id)
-
Constructor Details
-
POP3Mail
public POP3Mail()
-
-
Method Details
-
printMessageInfo
- Throws:
IOException
-
main
-