tSendMail SMTP Connection Refused

Highlighted
Nine Stars

tSendMail SMTP Connection Refused

Hi,

I've got an odd problem using the tSendMail component in a job.

 

When I run the job from Talend Cloud all is OK and the mail gets sent. However , when running it within Studio, I'm getting a "connection refused" message. Something on my laptop is blocking it, but I cant think what. I've tried disabling the Windows Firewall, and/or adding the java..exe for my version of Java into the firewall rules for all ports/IP addresses.

 

Anyone else had this issues and advise on what they did to resolve?

 

Regards David
Dont forget to give Kudos when an answer is helpful or mark the answer as the solution.
Highlighted
Nine Stars

Re: tSendMail SMTP Connection Refused

Did you try telnet to the sendmail server on port 25 from the client machine in question?

telnet mysendmailserver.com 25
--
Please give Kudos and mark topics as solved where appropriate.
Highlighted
Nine Stars

Re: tSendMail SMTP Connection Refused

Yup. I can Telnet to the mail server on its port, 587 in my case. Using Cygwin.

So it’s only something running through Java that seems to have the issue.
Regards David
Dont forget to give Kudos when an answer is helpful or mark the answer as the solution.

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

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 3

Read about some useful Context Variable ideas

Blog