Recently I have been able to send emails from my JSS. I mainly use this to enroll people in the VPP. Today I got this message after testing the email settings. I have tried port 465 (with SSL) and port 587 (with TLS)
Any ideas? Thanks
Error sending message: com.sun.mail.util.MailConnectException: Couldn't connect to host, port: smtp.gmail.com, 456; timeout 5000; nested exception is: java.net.UnknownHostException: smtp.gmail.com
My first guess would be a firewall rule has changed somewhere. I set up a 9.63 JSS a couple of weeks ago connecting to smtp.gmail.com and it is working ok.
The error is basically saying it can't reach smtp.gmail.com on port 456 (I think). Actually, is that correct? Should it not say 465?
Another useful test (from the same lan as the JSS:
nc -z smtp.gmail.com 465
You should get:
Connection to smtp.gmail.com port 465 [tcp/urd] succeeded!
This will tell you if the service is reachable. If it fails (or gets no response), it's probably a networking issue.