From Thursday, July, 9, 3:00 PM Pacific,
our Community site will be in
read-only mode
through Sunday, July 12th.
Thank you for your patience.

[resolved] Error using tsendmail

Highlighted
One Star

[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

Accepted Solutions
Highlighted
One Star

Re: [resolved] Error using tsendmail

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


All Replies
Highlighted
Seventeen Stars

Re: [resolved] Error using tsendmail

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
Highlighted
One Star

Re: [resolved] Error using tsendmail

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.
Highlighted
Moderator

Re: [resolved] Error using tsendmail

Hi,
Please upload your component setting screenshot into forum so that we can address your issue quickly.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: [resolved] Error using tsendmail

Please find the attached screen shots of the tsendmail component.
Highlighted
One Star

Re: [resolved] Error using tsendmail

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
Highlighted
Moderator

Re: [resolved] Error using tsendmail

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
Highlighted
One Star

Re: [resolved] Error using tsendmail

Hi
Username and password are correct . I have made password hidden before taking screen shot.
Thanks,
Mahendar
Highlighted
One Star

Re: [resolved] Error using tsendmail

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

Highlighted
Moderator

Re: [resolved] Error using tsendmail

Hi,
Thanks for your feedback. Don't hesitate to post your issue on forum.
Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

2019 GARTNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog