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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
soowork
Contributor III
Contributor III

[resolved] error with tSendMail (Network is unreachable) but works in debug mode!

Hi all,
I am using Enterprise Data Integration 5.2.2.r99271. I am working locally on my Windows development PC.
I have a job (which works) and I am trying to add a tSendMail as the last step in the job flow. I am using my correct mail server and port (25) in the tSendMail component. I am able to ping/telnet to the SMTP server.
When I run my job in basic mode I get the following error and no email is sent:
javax.mail.MessagingException: Could not connect to SMTP host: mailhost.points.com, port: 25;
nested exception is:
java.net.SocketException: Network is unreachable: connect

When I run the SAME job in Java Debug mode, it works - no error and email is received!
I have closed and re-opened Talend Studio. I have deleted and re-created the tSendMail component. Same problem.
Does anyone have any suggestions for me? TIA
Sue
0683p000009MB2U.png 0683p000009MAVx.png 0683p000009M8QG.png
Labels (4)
11 Replies
soowork
Contributor III
Contributor III
Author

OK, we found the issue - see https://community.talend.com/t5/Design-and-Development/tSendMail-and-Java-1-7/td-p/110957
When I downgraded to Java runtime 1.6 from 1.7, the problem was resolved.
Anonymous
Not applicable