• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java Mail SMTP host ??

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,
I am using Internet Information Server 4.0 from MicroSoft and SMTP server is installed on NT Server. I don't know what should be the host address to use local SMTP Server.
Server name is "kingserver" and domain name is "domks". I have tried everything but "unknown host exception is thrown". I am otherwise able to send mail using "imap.satyam.net.in"
Any help?
Thanks
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
So what happens if you put "imap.satyam.net.in" as your SMTP host?
 
Sukhwinder, Singh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am able to send messages when i use imap.satyam.net.in
 
Frank Carver
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If the IIS and SMTP server are omn the same machine, you should be able to use "localhost" or "127.0.0.1". If neither of these work, then there may be a misconfiguration in your SMTP server.
 
Sukhwinder, Singh
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes I already knew that and have tried it but wasn't successful in sending mail using (localhost or 127.0.01). Anyway thanks for your help
[This message has been edited by Sukhwinder, Singh (edited February 26, 2001).]
 
reply
    Bookmark Topic Watch Topic
  • New Topic