• Post Reply Bookmark Topic Watch Topic
  • New Topic

Automating an email send  RSS feed

 
Christopher Arthur
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am thinking about how to write a Java program that sends an email to somebody. My limited Java experience tells me that one way to do this is simply to open a socket connection on the mail port of the destination domain, but something tells me that Java offers a fancier way...any tips?

Chris
 
Chengwei Lee
Ranch Hand
Posts: 884
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a look at JavaMail. It should fit your requirements.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!