File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Java Mail API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Java Mail API" Watch "Java Mail API" New topic

Java Mail API

arona kosari

Joined: Oct 28, 2006
Posts: 19
Hi every body
I want to send an email in my project,I have all codes needed,but it does not work.I know it needs a mail server,but I have not any information about it.How I can download it?
If you have any information about the delivery of mail,please guide me.
Thanking you in anticipation
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
First off, this forum is about web services, not JavaMail, so this topic may get moved to a more appropriate forum.

I have all codes needed,but it does not work.

That's not a very useful problem description. What is the code supposed to do, and what happens when you run it? Any exceptions, error messages, ...?

I know it needs a mail server,but I have not any information about it. How I can download it?

Are you saying that you do not have a mail server, but want to install one in order to use it with JavaMail? If so, have a look at James, an open source Java SMTP and POP3 server.

If you have more fundamental questions about JavaMail, check out the J2EE FAQ, which links to a number of helpful JavaMail resources.
graham king
Ranch Hand

Joined: Dec 30, 2004
Posts: 133
JES by ericdaugherty is a pretty good one. comes with not so complicated src that you can dig through if you get confused.

write, revise, re-write, revise, again...<br />write, revise, re-write, revise, again...
I agree. Here's the link:
subject: Java Mail API
It's not a secret anymore!