I am testing automail through a standalone java class. These exceptions i am getting while running
javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: smtpout.secureserver.net, 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 com.virtusa.automail.SendMailUsingAuthentication.postMail(SendMailUsingAuthentication.java:74) at com.virtusa.automail.SendMailUsingAuthentication.main(SendMailUsingAuthentication.java:25)
This usually means that some piece of software is blocking your attempt to connect to your smtp server. Typically this can be a virus scanner doing port blocking or a fire wall doing the same. Check both of those things are not interfering. One trick is to try connecting via telnet; if you can do that, you can probably connect via JavaMail. Its also a good idea to speak to your server/network admin people to see if there is something you might not know about that is doing this.
Just telnet to the server over the port you have specified JavaMail use. I don't know which OS you run but most will include telnet support. Type "telnet" from a command prompt and see what happens.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.