aspose file tools*
The moose likes Servlets and the fly likes Java Mail SMTP host ?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Java Mail SMTP host ??" Watch "Java Mail SMTP host ??" New topic
Author

Java Mail SMTP host ??

Sukhwinder, Singh
Greenhorn

Joined: Feb 17, 2001
Posts: 8
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
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
So what happens if you put "imap.satyam.net.in" as your SMTP host?


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Sukhwinder, Singh
Greenhorn

Joined: Feb 17, 2001
Posts: 8
I am able to send messages when i use imap.satyam.net.in
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6920
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

Joined: Feb 17, 2001
Posts: 8
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).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java Mail SMTP host ??
 
Similar Threads
Connecting to SMTP server with user name and password
Problem sending mails when from-email-address is different from from-smtp-server
what is 530 authentication?
Outgoing Mail: Username/Password
Send mail using JavaMail API by connecting to another network