• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending mail using Linux Sendmail  RSS feed

 
Abiodun Adisa
Ranch Hand
Posts: 495
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please is it possible to use the Sendmail program located in /usr/sbin/sendmail as a Mail Server. If possible , Please does any one have an article or hint of how i can use Java to communicate with sendmail for the purpose of sending mail, All hints and suggestions are welcome
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java API for sending mal is called JavaMail; a number of relevant links -including a lengthy introduction- can be found in the http://faq.javaranch.com/java/JavaEnterpriseEditionFaq. It doesn't matter whether sendmail or any other server is used; just tell JavaMail the host name, and it will take it from there.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!