tsendmail component issue

One Star

tsendmail component issue

Hi all,
i'm trying to send an email from my job, for that i'm using gmail smtp shost and port number.
SMTP : smtp.gmail.com
Host :465
SSL : true
i had given email id and password.
but i'm getting Connection Refused exception
Exception in component tSendMail_1
javax.mail.MessagingException: Could not connect to SMTP host: smtp.gmail.com, port: 465;
nested exception is:
java.net.ConnectException: Connection refused: connect
Community Manager

Re: tsendmail component issue

Hi
I tested to send an mail with gmail on v5.1.2 and it works.
In your case, it may be a firewall problem.
Can you try
c:\> telnet smtp.gmail.com 465
on your server and see whether you get a connection?
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: tsendmail component issue

hi Shong,
i tried what u told to but its telling "connection failed".
is thr any other way to solve this issue?. plz help.
Regards,
Amaresh
Moderator

Re: tsendmail component issue

Hi, Amaresh
Fot the component tsendmail, the SMTP Host and Port is "IP address of SMTP server used to send emails."
SMTP : smtp.gmail.com
Host :465
SSL : true

Make sure that the SMTP Host you have entered is totally right.
See pics:
Pic1. Ping the IP addressOF SMTP server"smtp.gmail.com"
Pic2. The demo job which is similiar with yours.
Try it, and pls give us your feedback and we will track you 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.
One Star

Re: tsendmail component issue

Hi Sabrina,
After pinging its giving "request time out".
As i'm working in office, proxy is set for all. is this an issue for not able to connect?
Thanks,
Amaresh
Moderator

Re: tsendmail component issue

Hi, Amaresh
Do you have a chance to try it in another working environment. I'm not sure that
As i'm working in office, proxy is set for all. is this an issue for not able to connect?

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.
One Star

Re: tsendmail component issue

I am having the same problem but I can telnet via the cmd prompt. When I run the job I get this error
Exception in component tSendMail_1
javax.mail.MessagingException: Could not connect to SMTP host: 10.128.0.18, port: 25;
nested exception is:
java.net.SocketException: Network is unreachable: connect
Moderator

Re: tsendmail component issue

Hi,
Exception in component tSendMail_1
javax.mail.MessagingException: Could not connect to SMTP host: 10.128.0.18, port: 25;
nested exception is:
java.net.SocketException: Network is unreachable: connect

The error imply that the SMTP host: 10.128.0.18, port: 25 is not correct so Network is unreachable. Would you mind checking it?
See my screenshot for a successful setting of tsendmail
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.
One Star

Re: tsendmail component issue

I have the same issue, a job that worked a month ago, can no longer send an email.
I CAN telnet to the host on port 25, using Putty, and I'm copying and pasting the host name. If I copy the job to another machine it works. I've exported the job and it fails on my machine, runs on another.
Just installed Talend5 and the job still fails, copied the job to our dev server (export/import) and it worked.
So it appears to be an issue with my machine. I'd love to know what changed.
Moderator

Re: tsendmail component issue

Hi,
I have the same issue, a job that worked a month ago, can no longer send an email.
I CAN telnet to the host on port 25, using Putty, and I'm copying and pasting the host name. If I copy the job to another machine it works. I've exported the job and it fails on my machine, runs on another.
Just installed Talend5 and the job still fails, copied the job to our dev server (export/import) and it worked.
So it appears to be an issue with my machine. I'd love to know what changed.

The job should be OK if it can run successfully. Could you please give us more description about your machine? Is there any firewall in it? The Net working is fine?
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: tsendmail component issue

It is a java version issue with that component. I had to roll back to 1.6.?? don't remember the minor version.
It stopped working because you probably updated java.
Moderator

Re: tsendmail component issue

Hi magpac,
Is there any update for your 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.
One Star

Re: tsendmail component issue

Hi ,
I am also facing an issue with tsendmail component. I have provided correct values for SMTP HOST and PORT.  I am getting proper result when i use gmail sever HOST: "smtp.gmail.com" and PORT :465. But since i have to send mail from my organisations mail server (details given below). i am getting the below error. What could be the reason.how can i solve this?
Exception in component tSendMail_1
javax.mail.MessagingException: Could not connect to SMTP host: mail.ourclients.com, port: 587;
nested exception is:
java.net.SocketException: Permission denied: connect
at com.sun.mail.smtp.SMTPTransport.openServer(SMTPTransport.java:1282)
at com.sun.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:370)
--Please help me on this.
   Thanks in Advance.
Moderator

Re: tsendmail component issue

Hi nakshh,
javax.mail.MessagingException: Could not connect to SMTP host: mail.ourclients.com, port: 587;

The error indicate that you don't have permissions to connect to the destination. Can you use your organisations mail server to send/receive an email without using Talend Tool?
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.
One Star

Re: tsendmail component issue

Hi Sabrina,
I tried to telenet/ping my organisations mail server.Iam able to connect. Also iam able to send/receive mail without using Talend.
Thanks-nakshh
Moderator

Re: tsendmail component issue

Hi,
Could you please show us your tSendMail screenshot? Did you check out "SSL Support" option?
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.
One Star

Re: tsendmail component issue

Hi Sabrina,
Please find the attachment.
(Note:When i provide gmail server details,i am able to send mail from Talend tool)
Moderator

Re: tsendmail component issue

Hi,
(Note:When i provide gmail server details,i am able to send mail from Talend tool)

There is nothing wrong with your job design. Could you please indicate the build version you are using? Did this issue repro on other build version?
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.
One Star

Re: tsendmail component issue

Hi Sabrina,
Build version means? whether job version or Talend tool version?
I am using Talend Enterprise Data Integration(5.5.1.r118616) and this email job which i created is 0.1 version. 
One Star

Re: tsendmail component issue

Hi Sabrina,
Any solution for this?Please help.
Moderator

Re: tsendmail component issue

Hi nakssh,
We made a testing on Talend Enterprise Data Integration(5.5.1.r118616) with gmail and outlook server, but everything is going well.
Could you please report a ticket on Talend Support Portal for your Talend Enterprise Product so that we can give you a remote assistance through support cycle.
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.
One Star

Re: tsendmail component issue

Hi Sabrina,
I do have a Talend Forge username/password. But using this I am not able to login to 'Talend Support Portal'. Do I have to register for getting the professional support? Please suggest
Thanks,
Naksh
Moderator

Re: tsendmail component issue

Hi,
You should have received an email right after you've subscribed to the Talend Enterprise Product.(with credential not Talend Forge Account.)
Please take a look at: http://www.talend.com/services/services
If you don't get it, please get in touch with your Talend representative in order to know if your credential is correct.
Or are you using Talend trail product? If so, please send an email to support.eu@talend.com or support.us@talend.com  depending on your location.
Feel free to let me know if it is OK with you.
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.
One Star

Re: tsendmail component issue

Hi Sabrina,
I am using a trial product only. I am from location: Bangalore,India . 
Thanks,
Naksh
Moderator

Re: tsendmail component issue

Hi,
Please send an email to support.eu@talend.com .
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.
One Star

Re: tsendmail component issue

ok Sabrina. Thanks a lot
Moderator

Re: tsendmail component issue

Hi,
Feel free to let me know if there is any update for your 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.
One Star

Re: tsendmail component issue

Ok Sabrina. Thanks a lot
Moderator

Re: tsendmail component issue

Hi naksh,
Is there any feedback for your 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.
One Star

Re: tsendmail component issue

Hi Sabrina,
I have written a mail to support.eu@talend.com. I received the below response from them. Please suggest.

Hello,
Please note that as you are using a trial product version, you could not have access to our support portal. Nevertheless, you can always have access to our forum
Thank you
Sana LETAIEF SAFFAR 
Support Engineer
Email sletaief@talend.com

Thanks-Naksh