Quote:
Originally Posted by Sandeep_Sharma
java.sql.SQLException: SQL22295N Unable to communicate successfully with the SMTP server at host "********" using port "2". Reason code = "".
|
I hope "********" is not the actual IP address or hostname of your SMTP server. However, "2" does seem quite unusual for an SMTP port - it typically listens on port 25.
Use telnet to verify that you can indeed connect to the specified SMTP server, at the specified port, from your DB2 server. If your SMTP server uses authentication, check that the configured use is allowed to connect to it.