• Post Reply Bookmark Topic Watch Topic
  • New Topic

Confusion in JavaMail  RSS feed

 
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.
 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!