When we try to send a mail from JTS we get the exception: "Could not connect to SMTP host: smtp.live.com, port: 25; nested exception is: java.net.ConnectException: Connection timed out: connect". Why???
When we try to send a mail from JTS (Email Configuration) we get the exception: "Could not connect to SMTP host: smtp.live.com, port: 25; nested exception is: java.net.ConnectException: Connection timed out: connect". Why???
Which port can we use, I think that's the problem.
Help please!!
Thanks!! Best Regards,
Laura
2 answers
Hello Laura
The default port for the SMTP server access is indeed port 25, you would need to check with with network admin if the same default port has been configured for access on SMTP host: smtp.live.com.
A simple way to check if the port number is valid is by running the command:
telnet smtp.live.com 25
from the JTS server machine.
Additional tips:
troubleshoot SMTP connectivity
The default port for the SMTP server access is indeed port 25, you would need to check with with network admin if the same default port has been configured for access on SMTP host: smtp.live.com.
A simple way to check if the port number is valid is by running the command:
telnet smtp.live.com 25
from the JTS server machine.
Additional tips:
troubleshoot SMTP connectivity
Is your email from address defined and is the domain part of this email address a valid domain, which can be resolved by your DNS?
Often SMTP blocks if the sender domain is not recognized.
In my environment I'm using jazz@jazz.mycompany.com where jazz.mycompany.com correspond to the stable uri of Jazz.