How do I receive email in Java?
Author: Deron Eriksson
Description: This Java tutorial describes receiving an email in Java.
Tutorial created using: Windows XP || JDK 1.5.0_09 || Eclipse Web Tools Platform 1.5.1


Page: < 1 2

(Continued from page 1)

If we execute EmailReceiveTest, we see that the three messages on the email server for "bigcakes" are displayed in the console, as shown below.

Execution of EmailReceiveTest

As you can see, the basic case of receiving email from an email server is quite easy to accomplish in JavaSW.

Page: < 1 2