This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes Confusion in JavaMail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Confusion in JavaMail" Watch "Confusion in JavaMail" New topic

Confusion in JavaMail

yogi maheshnath
Ranch Hand

Joined: Jan 07, 2008
Posts: 30

How to test this program with Tomcat.I am using airtel internet connection.
what should i write in this line " String host = "";" in above code.Please Explain.

Thanks&Regards<br />Yogi MaheshNath
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
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.
I agree. Here's the link:
subject: Confusion in JavaMail
jQuery in Action, 3rd edition