Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
castiellll
Contributor III
Contributor III

tSendMail : Unsupported or unrecognized SSL message

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 :

0693p00000AblhrAAB.png

Does anyone know a way to fix it ?

Thank you

Labels (2)
3 Replies
tnewbie
Creator II
Creator II

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.

castiellll
Contributor III
Contributor III
Author

I think the problem comes from TLS1.2.

How can I force tSendMail to use TLS1.2 ?

Anonymous
Not applicable

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