Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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:

 

0683p000009M4cZ.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

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

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://community.talend.com/t5/Design-and-Development/About-that-Job-fails-on-Linux-Server-but-work...

 

https://community.talend.com/t5/Archive/resolved-tSendMail-component-connection-Exception/td-p/18456...

 

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

2 Replies
Anonymous
Not applicable
Author

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://community.talend.com/t5/Design-and-Development/About-that-Job-fails-on-Linux-Server-but-work...

 

https://community.talend.com/t5/Archive/resolved-tSendMail-component-connection-Exception/td-p/18456...

 

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 🙂

Anonymous
Not applicable
Author

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