This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
Author

is it possible to send mail within LAN?

Saravanan Thirugnanam
Greenhorn

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
Hi,
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 agree. Here's the link: http://aspose.com/file-tools
 
subject: is it possible to send mail within LAN?
 
Similar Threads
Java Mail Server
sending email within a LAN
JavaMailAPI
Mail within LAN
want to run my swing application on local area network?