This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Other JSE/JEE APIs and the fly likes can not connect to smtp host:164.44.23.222 port:465 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "can not connect to smtp host:164.44.23.222 port:465" Watch "can not connect to smtp host:164.44.23.222 port:465" New topic
Author

can not connect to smtp host:164.44.23.222 port:465

dhaval thakor
Ranch Hand

Joined: Aug 27, 2012
Posts: 53

If i m running this code in localhost, it's working fine. but when i uploading this file to server it's getting me stuck..
giving me error like : can't connect to smtp host : mail.horoscopesauction.com port:465

Please help me.

Nam Ha Minh
Ranch Hand

Joined: Oct 31, 2011
Posts: 484

Looks like you couldn't reach that mail server from your web server. Did you check if you can access the mail server from a mail client program? If you can, then the problem might be on the server, i.e firewall blocks port 465.


PM Me If You Want to get Urgent Help on Java Programming
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: can not connect to smtp host:164.44.23.222 port:465
 
Similar Threads
Java Mail API not connecting me from my tomcat server
Problem with Apache James
problem sending mail to other domains
using google to send email by JavaMail
urgent help in java mail