Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
I am trying to use a tSendMail but I am getting the following error :
Exception in component tSendMail_1 (general_test)
javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unsupported or unrecognized SSL message
at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1462)
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1260)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
......
Here is my component :
Does anyone know a way to fix it ?
Thank you
I am not sure if this job is on-premise or on cloud. I have enforced SSL in couple of my on-premise jobs successfully and this is what I did.
If you want SSL to be enforced, you may have to include a tSetKeyStore component and give the path where your cert/jks is placed. tSetKeyStore should be before tSendMail_1.
I think the problem comes from TLS1.2.
How can I force tSendMail to use TLS1.2 ?
Hello,
Please refer to this article about: https://community.talend.com/s/article/Issue-with-tSendMail-and-TLS-version-ElVmA and let us know if it helps.
Best regards
Sabrina