• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

Java-Based SMTP/POP3 client

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.

0
netnewbie
Asked:
netnewbie
1 Solution
 
jaikishanCommented:
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
0
 
Igor BazarnyCommented:
Here are some links I found:

JavaMail:
http://java.sun.com/products/javamail/

Third-Party JavaMail-based products:
http://java.sun.com/products/javamail/Third_Party.html


YAMM--Yet Another Mail Manager:
http://www.gjt.org/~fredde/yamm/

WebMail:
http://jwebmail.sourceforge.net/

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

Regards,
Igor Bazarny,
Brainbench MVP for Java 1
www.brainbench.com
0
 
netnewbieAuthor Commented:
Thank You...
0

Featured Post

Learn to develop an Android App

Want to increase your earning potential in 2018? Pad your resume with app building experience. Learn how with this hands-on course.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now