*nix Thread, Unable to connect to mail server in Technical; Hi all,
Our developer cannot connecto to a mail server from a batch file that he runs. It worked previously ...
30th June 2009, 11:48 AM #1
- Rep Power
Unable to connect to mail server
Our developer cannot connecto to a mail server from a batch file that he runs. It worked previously & there is no firewall between his box and the mail server.
Here is a copy of the error message:
javax.mail.SendFailedException: Sending failed;
nested exception is:
javax.mail.MessagingException: Could not connect to SMTP host: 10.10.10.
1, port: 25;
nested exception is:
java.net.SocketException: Software caused connection abort: connect
He insists its not his bat file or code.
Any suggestions would be appreciated!
30th June 2009, 11:54 AM #2
You are receiving the exception, "javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 25;", when trying to use JavaMailŽ on any release of WebSphereŽ Application Server V4.0.
WebSphere Application Server is trying to connect to a Simple Mail Transfer Protocol (SMTP) server running under localhost instead of the IP address of the SMTP server machine.
The solution to your problem is to modify the mailTransferProtocol parameter in your JavaMail session. The session is configured within the WebSphere Application Server administrative console. If your value is "SMTP", it should be changed to "smtp".
30th June 2009, 11:56 AM #3
any authentication required?? or it was just working?? something to do with authentication there is nothing mentioning username or password for connecting to the server...
Originally Posted by sLiDeR
Last edited by rehanahmeds; 30th June 2009 at 11:59 AM.
By mark in forum EduGeek.net Site Problems
Last Post: 8th July 2009, 08:59 AM
By karldenton in forum Windows
Last Post: 3rd June 2009, 04:17 PM
By steve_nfi in forum Hardware
Last Post: 23rd April 2008, 09:06 AM
By deano in forum Web Development
Last Post: 28th September 2007, 03:09 PM
By richard in forum Wireless Networks
Last Post: 8th September 2006, 08:54 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)