This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes is it possible to send mail within LAN? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "is it possible to send mail within LAN?" Watch "is it possible to send mail within LAN?" New topic

is it possible to send mail within LAN?

Saravanan Thirugnanam

Joined: Jan 19, 2005
Posts: 20
Hi all,
I am trying to send mail to a small number of systems which were connected through the intranet.For this purpose i have searched google and came to know about JavaMail API for this purpose. But it requires a Mail server name , and from and to address of receipients etc .But i dont have Mail server and Email IDs created for receipients . I know only the computer names of the target machines(Which were connected through the LAN).Is it possible to send mails to the machines ? Can i use JavaMail API for this purpose . If so what Name should i give for the Mail server Name(Host name)?Advanced Thanks for ur suggestions.

saravanan T
Arun Prasath
Ranch Hand

Joined: Sep 17, 2003
Posts: 192
Java Mail API is just a mail client. You need to have a mail server installed/setup first. There are free ones available on the net. You can download and set up accounts in the server.

Mail server generally will have a pop3 server(for retrieving mails) and smpt server.(for sending mails)
Use your java client(which uses java mail api) to connect to mail server(POP3 server) for retrieving mails and (SMPT server) sending mails.

SCJP 1.4, SCDJWS , SCJA<br />I can do ALL things through CHRIST who strengthens me.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: is it possible to send mail within LAN?
It's not a secret anymore!