Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
lemufty
Contributor III
Contributor III

error to send mail with tsendmail conponent

hi 
i cannot send mail with tsendmail.
when try to send i have this error message:
Exception in component tSendMail_1
javax.mail.MessagingException: Exception reading response;
  nested exception is:
java.net.SocketException: Connection reset
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:275)
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 prime_next.job_prime_next_0_1.job_Prime_Next.tSendMail_1Process(job_Prime_Next.java:799)
at prime_next.job_prime_next_0_1.job_Prime_Next.tJava_2Process(job_Prime_Next.java:570)
at prime_next.job_prime_next_0_1.job_Prime_Next.runJobInTOS(job_Prime_Next.java:1130)
at prime_next.job_prime_next_0_1.job_Prime_Next.main(job_Prime_Next.java:928)
Caused by: java.net.SocketException: Connection reset
anyone can help me.
Labels (3)
6 Replies
Anonymous
Not applicable

Hi,
Is your net work Ok with you? Are you behind proxy? On which build version you got this issue?
Best regards
Sabrina
lemufty
Contributor III
Contributor III
Author

hi,
yes network is ok. in below, talend network parameter and tsend configuration. i  use proxy for get internet.i use TOS-DI V6.2.1. 
0683p000009MBZs.jpg 
tsendmail configuration
0683p000009MBXx.jpg
lemufty
Contributor III
Contributor III
Author

i have this error message when i want to send email with tsendmail. anyone can help me. this is error message below.
Exception in component tSendMail_1
javax.mail.MessagingException: Exception reading response;
nested exception is:
java.net.SocketException: Connection reset
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 prime_next.job_prime_next_0_1.job_Prime_Next.tSendMail_1Process(job_Prime_Next.java:1196)
at prime_next.job_prime_next_0_1.job_Prime_Next.tContextDump_1Process(job_Prime_Next.java:939)
at prime_next.job_prime_next_0_1.job_Prime_Next.tPrejob_1Process(job_Prime_Next.java:589)
at prime_next.job_prime_next_0_1.job_Prime_Next.runJobInTOS(job_Prime_Next.java:1699)
at prime_next.job_prime_next_0_1.job_Prime_Next.main(job_Prime_Next.java:1424)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at sun.security.ssl.InputRecord.readFully(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)
... 12 more
Anonymous
Not applicable

Hi,
We don't repro this issue on V 6.2.1.
What's your email server? gmail or office 365? Have you ever successfully sent an email from talend to your email server ?
Best regards
Sabrina
lemufty
Contributor III
Contributor III
Author

smtp server is  SMTP-EU.SOMFI.COM, no i cannot send an email from to email server.
but telnet work well.
thank you for your help
Anonymous
Not applicable

Hi,
Have you tried to use other email server to see if it works? We tried gmail and office 365 server on V 6.2.1 and everything is Ok with us.
Feel free to post your issue here.
Best regards
Sabrina