This week's giveaway is in the Cloud/Virtualization forum.
We're giving away four copies of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP and have Lucian Maly on-line!
See this thread for details.
Win a copy of Secure Financial Transactions with Ansible, Terraform, and OpenSCAP this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Rob Spoor
  • Henry Wong
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Carey Brown
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh
  • Jj Roberts

is it possible to send mail within LAN?

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Gravity is a harsh mistress. But this tiny ad is pretty easy to deal with:
SKIP - a book about connecting industrious people with elderly land owners
https://coderanch.com/t/skip-book
reply
    Bookmark Topic Watch Topic
  • New Topic