| Title | Connection refused by Email Server |
| Date Updated | 01/05/2002 |
| Versions affected | JavaScheduler 2.1+, Automize 4.0+ |
| OS affected | All |
| Description | Connection refused by server. |
| Causes | Server does not accept connections on selected port |
| Solution | Check the port used by your email server. Default SMTP port is 25 |
| Output Log |
version
2.1 = Operation timed
out: no further information Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: 192.168.0.1, port: 29; nested exception is: java.net.ConnectException: Connection refused: no further information |
| Debug Log |
javax.mail.SendFailedException: Sending failed; nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: 192.168.0.1, port: 29; nested exception is: java.net.ConnectException: Connection refused: no further information at javax.mail.Transport.send0(Transport.java:219) at javax.mail.Transport.send(Transport.java:81) at EmailTask.EmailTask(EmailTask.java:117) at timerRunTask.run(RunTask.java:82) at java.util.TimerThread.mainLoop(Timer.java:435) at java.util.TimerThread.run(Timer.java:385)
|