error to send mail with tsendmail conponent

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

15TH OCTOBER, COUNTY HALL, LONDON

Join us at the Community Lounge.

Register Now

2019 GARNER 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

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads