Please help me to modify.

I was required to learn and develop a simple client to allow users to send and receive Internet e-mail from their workstations.

This will involve extensive interaction with smtp and pop3 daemons. For testing purposes, i may use the daemons running on APIIT?s HP-Unix system (IP address:

I've a very little knowledge of JAVA basic, and i've found this url that is talking about that.

Seems i found it's so complicated and i hardly can understand and learn the coding, so i expect someone could modify the coding to simpler by deleting any unnecessary coding.

What i need is just to enable:
1. compose e-mail message (without attachment)
2. send email to resipient
3. Download e-mails from the pop3 server (from the user?s mailbox) into a local mailbox on the workstation. These e-mails should be stored in the local hard-disk, and should be retrievable.

From the url, i find that it has some menu like file, edit, setting, help etc. it also enable the user to do attachment, besides that from the "mailboxes" there are trash, sent, and outbox. I hope someone could delete these functions.
So that i could understand easierly.

Or if you don't mind, please code  for me a simple one rather than changing that one.

thank you so much in advance.


Who is Participating?
Igor BazarnyConnect With a Mentor Commented:

Download JavaMail from and look into sample programs. JavaMail API simplifies mail tasks a lot. There are some other related references at

Igor Bazarny,
Brainbench MVP for Java 1
A 50/50 points split has been requestied.

175 = bazarny
175 = Valeri

I will refund 175 points to award in split.  And awared the 1st split here.

Johannes1979, if you will create a question in this Topic area entitled " Points for Valeri" and in the Commmet Box make a brief statement to the effect (Points for split on question 20148681 or the URL)

Be sure you choose the 175 points to be split.

Thank you,
Community Support Moderator
Doing it this way it closes the question as well.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.