• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to find the smtp host?

 
Praveen Kesani
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am testing a simple Java Mail code from a JSP on a unix machine. I am getting NoProviderException. Is there a command that I can issue to find the SMTP host?
Thanks
Praveen
 
Frank Carver
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For most unix machines, the smtp host is "localhost".
 
Praveen Kesani
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried that and I am still getting the NoSuchProvider Exception. For configuring the outlook I use smtp.xxxx.com as the SMTP host. I tried that one too. I scanned the newsgroup for solutions but couldn't find any. Could it be that there is some thing I am missing in the code.
Thanks
Praveen
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!