Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Venkat6
Contributor II
Contributor II

tSendMail componet is not working[javax.mail.AuthenticationFailedException: 421 4.7.66 TLS 1.0 and 1.1 are not supported]

Hi Team,

We are facing the issues with Tsendmail component. We are using the Talend 7.1.1 version.

Problem:

Followed the steps mentioned in below link and the issue got resolved when we are publishing to TMC.

TLS Issue Resolution Steps

We are implementing the same changes to other project and build through Jenkins and triggering through the Airflow but here we are getting the below error:

[ERROR]:tSendMail_4 - javax.mail.AuthenticationFailedException: 421 4.7.66 TLS 1.0 and 1.1 are not supported. 

Please upgrade/update your client to support TLS 1.2. Visit https://aka.ms/smtp_auth_tls. [SJ0PR13CA0176.namprd13.prod.outlook.com]

Steps followed:

--Added the jar(sendmail-1.4.7/6.0.0)

--Added the jvm param- -Dmail.smtp.ssl.protocols=TLSv1.2

--Build the code in jenkins and deployed to airflow.

We are able to see the jvm parameter in pom.xml file for the job but the issue still exists.

0695b00000RjYdUAAV.png

0695b00000RjYdeAAF.png

The same job is working in local with these changes.

Could you please help us here to resolve this issues.

Regards,

Venkat

Labels (3)
2 Replies
TCalabro1652773885
Contributor
Contributor

Expecting a reply.

Anonymous
Not applicable

Hello,

Feel free to let us know if this KB article helps?

https://community.talend.com/s/article/Issue-with-tSendMail-and-TLS-version-ElVmA

Best regards

Sabrina