wood burning stoves 2.0*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "Confusion in JavaMail" Watch "Confusion in JavaMail" New topic
Author

Confusion in JavaMail

yogi maheshnath
Ranch Hand

Joined: Jan 07, 2008
Posts: 30
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.


Thanks&Regards<br />Yogi MaheshNath
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41029
    
  43
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Confusion in JavaMail
 
Similar Threads
JavaMail e-mail goes to Junk E-mail
Enable Mailing services
using google to send email by JavaMail
Java Mail Authentication
how to send email from java program