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: 
Anonymous
Not applicable

[resolved] Error using tsendmail

Hi All,
I am getting below error while tsendmail component
Exception in component tSendMail_1
javax.mail.MessagingException: Exception reading response;
nested exception is:
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
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 pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.tSendMail_1Process(CaptureRejectRecords_2.java:1840)
at pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.tMSSqlInput_1Process(CaptureRejectRecords_2.java:1623)
at pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.runJobInTOS(CaptureRejectRecords_2.java:2053)
at pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.main(CaptureRejectRecords_2.java:1919)
disconnected
Caused by: javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at sun.security.ssl.InputRecord.handleUnknownRecord(Unknown Source)
at sun.security.ssl.InputRecord.read(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readRecord(Unknown Source)
at sun.security.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
at sun.security.ssl.SSLSocketImpl.readDataRecord(Unknown Source)
at sun.security.ssl.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

Please help me out in resolving the same.
Thanks,
Mahendar
Labels (3)
1 Solution

Accepted Solutions
_AnonymousUser
Specialist III
Specialist III

Hi All,
The issue got resolved .
I have 2 step verification for my gmail account . It got resolved after disabling 2-step verification.
Sorry for the inconvenience caused.
Thanks,
Mahendar

View solution in original post

9 Replies
Anonymous
Not applicable
Author

hi,
perhaps you are using HTTPS to connect to a port that is speaking plaintext. Check the port number in the URL.
SMTP uses port 25. The protocol for new submissions ( is effectively the same as SMTP, but it uses port 587 instead. SMTP connections secured by are known by the shorthand on TCP port 465

regards
laurent
_AnonymousUser
Specialist III
Specialist III

Hi ,
Still Iam facing issue with tsendmail .Today I am getting javax.mail.AuthenticationFailedException issue. Please help me to resolve.
connecting to socket on port 3847
connected
Exception in component tSendMail_1
javax.mail.AuthenticationFailedException
at javax.mail.Service.connect(Service.java:306)
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 pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.tSendMail_1Process(CaptureRejectRecords_2.java:1841)
at pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.tMSSqlInput_1Process(CaptureRejectRecords_2.java:1623)
at pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.runJobInTOS(CaptureRejectRecords_2.java:2054)
at pwsproject.capturerejectrecords_2_0_1.CaptureRejectRecords_2.main(CaptureRejectRecords_2.java:1920)
disconnected
Job CaptureRejectRecords_2 ended at 11:26 20/12/2013.
Anonymous
Not applicable
Author

Hi,
Please upload your component setting screenshot into forum so that we can address your issue quickly.
Best regards
Sabrina
Anonymous
Not applicable
Author

Please find the attached screen shots of the tsendmail component.
0683p000009MCGC.png 0683p000009MBhE.png
Anonymous
Not applicable
Author

Still I am facing same issue with tsendmail. Please help me out to resolve this.
I am using "talend Open studio Data Integration " V5.3.1
Thanks ,
Mahendar
Anonymous
Not applicable
Author

Hi,
I have made a testing on "talend Open studio Data Integration " V5.3.1, everything is OK. Are you sure "User Name" and "Password" are correct?(I have seen your password is "******", is it real or hidden password?).
Best regards
Sabrina
_AnonymousUser
Specialist III
Specialist III

Hi
Username and password are correct . I have made password hidden before taking screen shot.
Thanks,
Mahendar
_AnonymousUser
Specialist III
Specialist III

Hi All,
The issue got resolved .
I have 2 step verification for my gmail account . It got resolved after disabling 2-step verification.
Sorry for the inconvenience caused.
Thanks,
Mahendar
Anonymous
Not applicable
Author

Hi,
Thanks for your feedback. Don't hesitate to post your issue on forum.
Best regards
Sabrina