Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Java-Based SMTP/POP3 client

Posted on 2001-06-26
Medium Priority
Last Modified: 2008-02-01
I need source code or links of sourcode that works (complete either with interface or not) for:

A Java-Based SMTP/POP3 client

at minimum is able to:
1. Compose e-mail messages (no attachments)
2. Send e-mails to the recipients
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.

Question by:netnewbie
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 6227253
1. download sun's mail.jar It has full source code on how to send mails. Get a small GUI in HTML and send the request to a servlet that does it...
2. u need to write the code for ur own. Once u have the content of the mail(source in sun jar) then u can save that in any format in ur machine

Accepted Solution

Igor Bazarny earned 1200 total points
ID: 6228782
Here are some links I found:


Third-Party JavaMail-based products:

YAMM--Yet Another Mail Manager:


To solve your problems:
   1. Compose e-mail messages (no attachments)
You need some simple GUI to input recipients and mail body.

   2. Send e-mails to the recipients
It's few lines of code using JavaMail API

   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.
It's another few lines, using JavaMail API and mbox JavaMail provider to handle local storage

Igor Bazarny,
Brainbench MVP for Java 1

Author Comment

ID: 6231589
Thank You...

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
Viewers learn about the third conditional statement “else if” and use it in an example program. Then additional information about conditional statements is provided, covering the topic thoroughly. Viewers learn about the third conditional statement …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question