Issue with tSendMail and TLS version 1.2

Problem Description

Normally the -Dmail.smtp.ssl.protocols=TLSv1.2 property should send mail using TLS version 1.2. However, even with this property, the tSendMail component is sending mail using the TLS version 1.0.

 

Root Cause

The tSendMail component is still using the old mail-1.4.jar.

 

Solution

Update the tSendMail component to use a new mail JAR version, at least mail-1.4.7.jar, by performing the following steps:

  1. Download mail-1.4.7.jar from the official Maven web site.

  2. In Studio, on the menu bar, expand Window > Show View > Talend > Modules.

  3. On the Module tab, enter tSendMail in the text box and search.

  4. At the mail-1.4.jar line, click the [...] button to the right of Maven URI to open the Install Module dialog box.

  5. In the Module File field, browse to mail-1.4.7.jar.

  6. Select the Custom MVN URI check box and enter a unique URI, for example:

    mvn:org.talend.libraries/mail-1.4/1.4.7/jar
  7. Click Detect the module install status button.

  8. Click the OK button.

  9. Ensure that the Job runs with the -Dmail.smtp.ssl.protocols=TLSv1.2 property.

Version history
Revision #:
4 of 4
Last update:
‎02-26-2020 05:49 AM
Updated by:
 
Contributors