Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
oguedda
Contributor III
Contributor III

Error using tsendmail

Hi All,

I am getting below error while tsendmail component

Exception in component tSendMail_1

Platform: Talend Open Studio 7.3.1

I am using a private mail server

i am using the SSL certificate and without any certificate in SMTP port 25 it works

Even with STARTTLS does not work

Exception in component tSendMail_1 (test_job

_piiff

)

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)

     at javax.mail.Service.connect(Service.java:297)

     at javax.mail.Service.connect(Service.java:156)

     at javax.mail.Service.connect(Service.java:105)

     at javax.mail.Transport.send0(Transport.java:168)

     at javax.mail.Transport.send(Transport.java:98)

     at local_project.test_job_piiff_0_1.test_job_piiff.tSendMail_1Process(test_job_piiff.java:8538)

     at local_project.test_job_piiff_0_1.test_job_piiff.tREST_1Process(test_job_piiff.java:8167)

     at local_project.test_job_piiff_0_1.test_job_piiff.runJobInTOS(test_job_piiff.java:8824)

     at local_project.test_job_piiff_0_1.test_job_piiff.main(test_job_piiff.java:8673)

Caused by: javax.net.ssl.SSLException: Unsupported or unrecognized SSL message

     at sun.security.ssl.SSLSocketInputRecord.handleUnknownRecord(Unknown Source)

     at sun.security.ssl.SSLSocketInputRecord.decode(Unknown Source)

     at sun.security.ssl.SSLTransport.decode(Unknown Source)

     at sun.security.ssl.SSLSocketImpl.decode(Unknown Source)

     at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source)

     at sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source)

     at sun.security.ssl.SSLSocketImpl.ensureNegotiated(Unknown Source)

     at sun.security.ssl.SSLSocketImpl.access$200(Unknown Source)

     at sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)

     at com.sun.mail.util.TraceInputStream.read(TraceInputStream.java:97)

     at java.io.BufferedInputStream.fill(Unknown Source)

     at java.io.BufferedInputStream.read(Unknown Source)

     at com.sun.mail.util.LineInputStream.readLine(LineInputStream.java:75)

     at com.sun.mail.smtp.SMTPTransport.readServerResponse(SMTPTransport.java:1440)

     ... 11 more

0695b00000H8IrCAAV.png

Please help me out in resolving the same.

Thanks,

Oussama

Labels (2)
11 Replies
oguedda
Contributor III
Contributor III
Author

yes I also tried with port 465 but still the same problem

 

gjeremy1617088143

it was with STARTTLS and port 587 , no certificate needed on an office365 smtp , the server administrator just allow my virtual machine to access to the smtp server with this port.

I send him a message if he can explain how he do that.