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: 
MMAALi1635438954
Contributor
Contributor

Exception in tSendMail with microsoft SMTP

Hello ,

I'm using

java 11

Exception in component tSendMail_1 (export_Cra)

javax.mail.MessagingException: Can't send command to SMTP host;

nested exception is:

javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1420)

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1408)

at com.sun.mail.smtp.SMTPTransport.ehlo(SMTPTransport.java:847)

at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:384)

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 byblos.export_cra_0_1.export_Cra.tSendMail_1Process(export_Cra.java:7402)

at byblos.export_cra_0_1.export_Cra.tWarn_5Process(export_Cra.java:7185)

at byblos.export_cra_0_1.export_Cra.tDBInput_2Process(export_Cra.java:6921)

at byblos.export_cra_0_1.export_Cra.tWarn_1Process(export_Cra.java:4480)

at byblos.export_cra_0_1.export_Cra.tDBInput_1Process(export_Cra.java:4216)

at byblos.export_cra_0_1.export_Cra.tDBRow_1Process(export_Cra.java:1565)

at byblos.export_cra_0_1.export_Cra.tDBRow_2Process(export_Cra.java:1315)

at byblos.export_cra_0_1.export_Cra.tWarn_4Process(export_Cra.java:1075)

at byblos.export_cra_0_1.export_Cra.tDBConnection_1Process(export_Cra.java:859)

at byblos.export_cra_0_1.export_Cra.runJobInTOS(export_Cra.java:8972)

at byblos.export_cra_0_1.export_Cra.main(export_Cra.java:8737)

Caused by: javax.net.ssl.SSLHandshakeException: Remote host terminated the handshake

at sun.security.ssl.SSLSocketImpl.handleEOF(SSLSocketImpl.java:1310)

at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1151)

at sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1054)

at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:394)

at sun.security.ssl.SSLSocketImpl.ensureNegotiated(SSLSocketImpl.java:708)

at sun.security.ssl.SSLSocketImpl.access$100(SSLSocketImpl.java:72)

at sun.security.ssl.SSLSocketImpl$AppOutputStream.write(SSLSocketImpl.java:961)

at com.sun.mail.util.TraceOutputStream.write(TraceOutputStream.java:101)

at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)

at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:140)

at com.sun.mail.smtp.SMTPTransport.sendCommand(SMTPTransport.java:1418)

... 19 more

Caused by: java.io.EOFException: SSL peer shut down incorrectly

at sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:167)

at sun.security.ssl.SSLTransport.decode(SSLTransport.java:108)

at sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1143)

... 28 more

Any help is appreicated.

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

What are your host SMTP configuration? Do you have any environment that the emil server enable ssl connection?

We will appreciate it a lot if you could post your component setting screenshots here which will be helpful for us to address your issue.

Best regards

Sabrina