error to send mail with tsendmail conponent

Five Stars

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

Re: error to send mail with tsendmail conponent

Hi,
Is your net work Ok with you? Are you behind proxy? On which build version you got this issue?
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.
Five Stars

Re: error to send mail with tsendmail conponent

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. 
 
tsendmail configuration
Five Stars

Re: error to send mail with tsendmail conponent

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
Moderator

Re: error to send mail with tsendmail conponent

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

Re: error to send mail with tsendmail conponent

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
Moderator

Re: error to send mail with tsendmail conponent

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

What’s New for Talend Spring ’19

Watch the recorded webinar!

Watch Now

Tutorial

Introduction to Talend Open Studio for Data Integration.

Watch

Downloads and Trials

Test drive Talend's enterprise products.

Downloads

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Download