Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

is it possible to send mail within LAN?

 
Saravanan Thirugnanam
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Arun Prasath
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic