Win a copy of Mastering Non-Functional Requirements this week in the Design forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Confusion in JavaMail  RSS feed

 
yogi maheshnath
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,



How to test this program with Tomcat.I am using airtel internet connection.
what should i write in this line " String host = "smtp.yourisp.net";" in above code.Please Explain.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's the host name of the SMTP server. Your ISP can tell you what that is. You'll very likely also have to use authentication and set the password; this page tells you how to do that.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!