CF2021 email setting issue
Hi all,
I just upgraded our CF2018 to CF2021 on the same machine.
CF2021 works as the webpages are loading. However, <cfmail> is not sending email out.
When I tried to send an email out using <cfmail>, the email in in the "Undeliver" folder.
From coldfusion-out.log
Jan 27, 2022 17:39:04 PM Error [scheduler-0] - javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)
From Mail.log
"Error","scheduler-0","01/27/22","17:39:04","","javax.mail.MessagingException: Could not convert socket to TLS; nested exception is: java.net.SocketException: java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm: Default, provider: SunJSSE, class: sun.security.ssl.SSLContextImpl$DefaultSSLContext)"
I compared my settings in CF2021 with CF2018 and they are the same.
I am sure the password used in CF2021 is correct. If it is not, the error should be about "Authentication unsuccessful" in the Mail.log
JVM is 11.0.12 in CF2021, just like in my CF2018 install.
Any idea how to fix?
Thanks.
Dchan
