This week's book giveaways are in the iOS and Features new in Java 8 forums.
We're giving away four copies each of Barcodes with iOS: Bringing together the digital and physical worlds and Core Java for the Impatient and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes Sending mail in a network Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » Java in General
Bookmark "Sending mail in a network" Watch "Sending mail in a network" New topic

Sending mail in a network

Erwin DES

Joined: Feb 26, 2003
Posts: 18
In a 3-tier application I want to use the ability to send and receive mail. This mailservice is only intentend to be used internally (not on the Internet).
I know I have to use a SMPT server.
My question :
which one to use and HOW? Because I do not have any experience in this matter, please give me all possible examples, information ...
Can anyone help me?
Stan James
(instanceof Sidekick)
Ranch Hand

Joined: Jan 29, 2003
Posts: 8791
I'm curious about the same topic. I read a bit about the Apache James project but don't know enough background to understand exactly how might help me. Yet.

A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Van Glass
Ranch Hand

Joined: Nov 18, 2000
Posts: 110
Just to clarify are you asking how to send mail using Java, how to setup a Java mail server or both?
Sending mail is pretty easy. This can be accomplished using JavaMail or any one of many commercial components available. For setting up the server portion James is a known server side implementation of the JavaMail API.
Erwin DES

Joined: Feb 26, 2003
Posts: 18
Thanks for your response.
I need some information about how to setup a Java mail server.
Can you give me some advise, tips, instructions, usefull links...(for Apache James if this is a good one...)
Thanks for any help,
I agree. Here's the link:
subject: Sending mail in a network