+ Post New Thread
Results 1 to 3 of 3
*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 ...
  1. #1

    Join Date
    Jun 2007
    Location
    Barnehurst
    Posts
    157
    Thank Post
    3
    Thanked 2 Times in 2 Posts
    Rep Power
    15

    Unable to connect to mail server

    Hi all,
    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
    at javax.mail.Transport.send0(Transport.java:219)
    at javax.mail.Transport.send(Transport.java:81)
    at Assimilator.main(Assimilator.java:26)


    He insists its not his bat file or code.

    Any suggestions would be appreciated!

  2. #2
    rehanahmeds's Avatar
    Join Date
    Dec 2007
    Posts
    25
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    try this

    Problem
    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.

    Cause
    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.

    Solution
    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".

  3. #3
    rehanahmeds's Avatar
    Join Date
    Dec 2007
    Posts
    25
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by sLiDeR View Post
    Hi all,
    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
    at javax.mail.Transport.send0(Transport.java:219)
    at javax.mail.Transport.send(Transport.java:81)
    at Assimilator.main(Assimilator.java:26)


    He insists its not his bat file or code.

    Any suggestions would be appreciated!
    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...
    Last edited by rehanahmeds; 30th June 2009 at 11:59 AM.

SHARE:
+ Post New Thread

Similar Threads

  1. [CLOSED] Bug/Error: Unable to connect to jabber server
    By mark in forum EduGeek.net Site Problems
    Replies: 3
    Last Post: 8th July 2009, 08:59 AM
  2. Network Drive Unable to Connect
    By karldenton in forum Windows
    Replies: 13
    Last Post: 3rd June 2009, 04:17 PM
  3. Printer unable to connect
    By steve_nfi in forum Hardware
    Replies: 7
    Last Post: 23rd April 2008, 09:06 AM
  4. Joomla : Unable to Connect to Database
    By deano in forum Web Development
    Replies: 0
    Last Post: 28th September 2007, 03:09 PM
  5. Workstations unable to connect to domain
    By richard in forum Wireless Networks
    Replies: 8
    Last Post: 8th September 2006, 08:54 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •