tSendMail SMTP Issue

Four Stars

tSendMail SMTP Issue

Hello dear community

 

i just want to send with Talend studio a mail from my gmail account. I have already set the necessary settings in my gmail account (enable IMAP/POP + allow less secure apps). But I get the following exception:

 

[statistics] connecting to socket on port 3852
[statistics] connected
Exception in component tSendMail_1 (email_bsp)
javax.mail.MessagingException: [EOF]
	at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1363)
	at com.sun.mail.smtp.SMTPTransport.helo(SMTPTransport.java:836)
	at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:375)
	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 gruppe_henz.email_bsp_0_1.email_bsp.tFixedFlowInput_1Process(email_bsp.java:810)
	at gruppe_henz.email_bsp_0_1.email_bsp.runJobInTOS(email_bsp.java:1213)
	at gruppe_henz.email_bsp_0_1.email_bsp.main(email_bsp.java:992)
[statistics] disconnected

And here are my component settings:

 

sendmail component.PNG

 

I've checked 1000 times if the parameters are correct. But according to the exception, the problem is not the authentication? What is meant by "EOF / end of file"?!

Is this even a talend studio problem?

 

Thanks a lot for any help

 

kind regards

 

Joel


Accepted Solutions
Employee

Re: tSendMail SMTP Issue

Hi,

 

   I hope you are using right version of Java (1.8) to run Talend.

 

Please refer the below links whether it has helped you to resolve the issue.

 

https://www.talendforge.org/forum/viewtopic.php?id=56345

 

https://www.talendforge.org/forum/viewtopic.php?id=41438

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post


All Replies
Employee

Re: tSendMail SMTP Issue

Hi,

 

   I hope you are using right version of Java (1.8) to run Talend.

 

Please refer the below links whether it has helped you to resolve the issue.

 

https://www.talendforge.org/forum/viewtopic.php?id=56345

 

https://www.talendforge.org/forum/viewtopic.php?id=41438

 

Warm Regards,
Nikhil Thampi

Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved :-)

View solution in original post

Four Stars

Re: tSendMail SMTP Issue

Hi Nikhil

 

thanks for your advice. I got the right Java version. The second link you posted caused me to check all advanced settings, also of the tsendmail compoment. There I checked "set localhost" and it worked (unfortunately, it is not mentioned in the tutorial).

 

Kind regards

 

Joel

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

Talend API Designer – Technical Overview

Take a look at this technical overview video of Talend API Designer

Watch Now

Getting Started with APIs

Find out how to get started with APIs

Read